Page 1 of 1

404 after Install

Posted: Thu Feb 23, 2006 1:58 pm
by Oli
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

Re: 404 after Install

Posted: Thu Feb 23, 2006 2:02 pm
by garvinhicking
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

htaccess

Posted: Thu Feb 23, 2006 2:07 pm
by Oli
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 :
# 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

Re: htaccess

Posted: Thu Feb 23, 2006 2:34 pm
by garvinhicking
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

IIS

Posted: Thu Feb 23, 2006 5:54 pm
by Oli
Oh...OK. Maybe someone else can help.

As I have written in my initial post the index.php
is in the list of start pages for this directory,

Does my htaccess look normal or is there normally
more inside ?

Re: IIS

Posted: Thu Feb 23, 2006 7:08 pm
by garvinhicking
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