Hi,
I more or less successfully installed S9Y but get a 404 error when
trying to open my blog : http://www.name.de/weblog/
If I append index.php the blog is getting displayed.
From this point on all links ( to Archives / to Admin etc. ) work fine.
I tried multiple path settings in the config but cannot get it to work.
I also doublechecked if index.php files are allowed as startpages.
Can anyone help ?
Thanks in advance
Oliver
404 after Install
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: 404 after Install
This seems to be related to your .htaccess file and your webserver. It seems that your webserver does not recognize "index.php" as valid directory index. Please ask your sysadmin to either allow the .htaccess to override the DirectoryIndex directive, or that he sets 'index.php' as a valid DirectoryIndex to your virtualhost container.
What exactly does your .htaccess file point its DirectoryIndex to? Maybe this path is not the right one?
Regards,
Garvin
What exactly does your .htaccess file point its DirectoryIndex to? Maybe this path is not the right one?
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/
htaccess
That was Quick !!! Fantastic !!
I am using IIS and had some problems with .htaccess because this is not supported by IIS. Anyhow it is on the server and has the following content :
I am using IIS and had some problems with .htaccess because this is not supported by IIS. Anyhow it is on the server and has the following content :
# BEGIN s9y
DirectoryIndex /weblog/index.php
<Files *.tpl.php>
deny from all
</Files>
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: htaccess
Oh, I'm sorry. I have no experience with IIS, I do not know how to set the default directory index there.
I think the IIS control console has a setting for that, were by default only 'index.html' is listed. You'll need to ask on a IIS specific forum, if you don't find more about that, I'm sorry.
Best regards,
Garvin
I think the IIS control console has a setting for that, were by default only 'index.html' is listed. You'll need to ask on a IIS specific forum, if you don't find more about that, I'm sorry.
Best 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: IIS
The .htaccess looks okay, but I think IIS does not even parse it! You might try to look into the error log of your IIS and see for which exact file it returns you a '404'?
Maybe there you can see if its only looking for 'index.htm'?
Regards,
Garvin
Maybe there you can see if its only looking for 'index.htm'?
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/