Hello,
After looking at a number of blog/cms packages, I decided Serendipity was for me! Unfortunately, I'm stuck and need some help. Here's where I am...
First thing is the webserver issue. I'm hosting my site on a friend's server and he is an IIS guy. He has MySQL & PHP installed, but won't use Apache.
So I started looking around the forum and found what might be a possible way around that issue (not tested, but seemed to work for some). I made that change and tried to install. No go. I get the 'can't write .htaccess' message.
So I Remote Desktop onto his system and give the IUSR All permissions in the Serendipity directory. Still not able to write the .htaccess file.
Anything else I can do here? I'm trying to convince him to let me install Apache alongside IIS, just using a different port, but so far no luck.
If I can't get the install to write .htaccess, is there a way to install Serendipity manually? (As in, by hand. Creating and editing config files, copying files, etc.)
Thanks,
--Dan
A manual install?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: A manual install?
Which Serendipity version are you trying to install? Check out if the latest snapshot works out for you.
If you've already tried that, it's a bit tough luck because none of our developers uses IIS. If you can give me access to a machine with IIS, I will gladly try to check why the file cannot be created.
I am quite sure that it's a problem of auto-detecting the paths, as we use quite a few $_SERVER[] references which are not available for the sucky IIS...
Regards,
Garvin
If you've already tried that, it's a bit tough luck because none of our developers uses IIS. If you can give me access to a machine with IIS, I will gladly try to check why the file cannot be created.
I am quite sure that it's a problem of auto-detecting the paths, as we use quite a few $_SERVER[] references which are not available for the sucky IIS...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks Garvin,
I will give the latest snapshot a try and let you know what happens.
On a brighter note, I think the friend who's hosting my site will let me install apache on a different port. This brings up another question. If I set apache to, say, port 8080, access to the website would require I put :8080 on the end of the url, correct? What are the ways around that? My friend suggested a redirect page from iis. Is this the best way to do this?
Thanks,
--Dan
I will give the latest snapshot a try and let you know what happens.
On a brighter note, I think the friend who's hosting my site will let me install apache on a different port. This brings up another question. If I set apache to, say, port 8080, access to the website would require I put :8080 on the end of the url, correct? What are the ways around that? My friend suggested a redirect page from iis. Is this the best way to do this?
Thanks,
--Dan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Great!
If possible, I'd suggest you to use a subdomain to host the Apache site on instead of using a different port. If you really need to use a port, you are well off with a redirect page from your IIS site. Another approach would be to use a frame on your IIS page to embed the :8080 content. But in that case the URL location bar will not change and makes it hard to bookmark special pages...
Regards,
Garvin
If possible, I'd suggest you to use a subdomain to host the Apache site on instead of using a different port. If you really need to use a port, you are well off with a redirect page from your IIS site. Another approach would be to use a frame on your IIS page to embed the :8080 content. But in that case the URL location bar will not change and makes it hard to bookmark special pages...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Were you able to get this up under IIS? Even if I create a .htaccess file and grant it all permissions, the same script message occurs:dannyka wrote:I will give the latest snapshot a try and let you know what happens.
To check your local webserver installation, serendipity needs to be able to write the file ".htaccess". This was not possible because of permission errors. Please adjust the permissions like this:
chmod go+rwx ...
and reload this page.
--Raul
-
Guest
Re: A manual install?
Below is a list of the _SERVER key values that Apache tracks that IIS does not (these are all non-SSL):garvinhicking wrote:I am quite sure that it's a problem of auto-detecting the paths, as we use quite a few $_SERVER[] references which are not available for the sucky IIS...
- GATEWAY_INTERFACE
- HTTP_COOKIE
- PATH
- QUERY_STRING
- REMOTE_PORT
- REQUEST_URI
- SCRIPT_FILENAME
- SERVER_ADDR
- SERVER_ADMIN
- SERVER_SIGNATURE
-- Raul
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: A manual install?
I know that we use those ones for sure:
- PATH (installer)
- REQUEST_URI (core parts)
- SCRIPT_FILENAME (installer)
- SERVER_ADDR (spamblock plugin)
The others are not used by us. Which replacement variables could we use for those?
Regards,
Garvin
- PATH (installer)
- REQUEST_URI (core parts)
- SCRIPT_FILENAME (installer)
- SERVER_ADDR (spamblock plugin)
The others are not used by us. Which replacement variables could we use for those?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
i just wrote my little "server.php" to print out every variable from $_SERVER (i use iis) ... here you are
edit:
i just consalted my php-book for further information ... and it tells me, that this variables aren't available under iis:
if you compare this to the output of my $_SERVER, this can't be true, because i have script_filename ... very strange
ah ... yes ... it tells me, that SCRIPT_FILENAME under apache and SCRIPT_NAME under iis are the same ... so there you can replace this varibale
ah .. .yes ... and it tells me to use the PATH_TRANSLATED to get a path in physical format
... for apache and iis ...
Array
(
[ALLUSERSPROFILE] => C:\Dokumente und Einstellungen\All Users
[CommonProgramFiles] => C:\Programme\Gemeinsame Dateien
[COMPUTERNAME] => CHRISM-AT-WORK
[ComSpec] => C:\WINDOWS\system32\cmd.exe
[CONTENT_LENGTH] => 0
[FP_NO_HOST_CHECK] => NO
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[HTTP_ACCEPT_LANGUAGE] => de,en;q=0.5
[HTTP_CONNECTION] => keep-alive
[HTTP_HOST] => localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0
[HTTP________________] => ------------
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_KEEP_ALIVE] => 300
[HTTPS] => off
[INSTANCE_ID] => 1
[LOCAL_ADDR] => 127.0.0.1
[NUMBER_OF_PROCESSORS] => 1
[OS] => Windows_NT
[Path] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
[PROCESSOR_ARCHITECTURE] => x86
[PROCESSOR_IDENTIFIER] => x86 Family 15 Model 2 Stepping 9, GenuineIntel
[PROCESSOR_LEVEL] => 15
[PROCESSOR_REVISION] => 0209
[ProgramFiles] => C:\Programme
[REMOTE_ADDR] => 127.0.0.1
[REMOTE_HOST] => 127.0.0.1
[REQUEST_METHOD] => GET
[SCRIPT_NAME] => /server.php
[SERVER_NAME] => localhost
[SERVER_PORT] => 80
[SERVER_PORT_SECURE] => 0
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/5.1
[SystemDrive] => C:
[SystemRoot] => C:\WINDOWS
[TEMP] => C:\WINDOWS\TEMP
[TMP] => C:\WINDOWS\TEMP
[USERPROFILE] => C:\Dokumente und Einstellungen\LocalService
[VS71COMNTOOLS] => C:\Programme\Microsoft Visual Studio .NET 2003\Common7\Tools\
[windir] => C:\WINDOWS
[ORIG_PATH_TRANSLATED] => d:\htdocs\server.php
[ORIG_PATH_INFO] => /server.php
[ORIG_SCRIPT_NAME] => /server.php
[SCRIPT_FILENAME] => d:\htdocs\server.php
[PHP_SELF] => /server.php
[argv] => Array
(
)
[argc] => 0
)
edit:
i just consalted my php-book for further information ... and it tells me, that this variables aren't available under iis:
- date_local
date_gmt
document_name
document_root
request_uri
script_filename
server_signature
if you compare this to the output of my $_SERVER, this can't be true, because i have script_filename ... very strange
ah ... yes ... it tells me, that SCRIPT_FILENAME under apache and SCRIPT_NAME under iis are the same ... so there you can replace this varibale
ah .. .yes ... and it tells me to use the PATH_TRANSLATED to get a path in physical format
-
guest1
How exactly would you go about using this? If there's anyway for me to run Serendipity, I'm going to. I got through the installer with IIS 6.0, but when you go to the main page after installation (and changing the $_SERVER variable in index.php as stated in another topic) there is no template and all you see are links that go to the proper dir without the actual site name before them and broken images.reion wrote:i just wrote my little "server.php" to print out every variable from $_SERVER (i use iis) ... here you are
ah .. .yes ... and it tells me to use the PATH_TRANSLATED to get a path in physical format... for apache and iis ...
So, how exactly can I get 0.7.1 to work properly?