You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Wagar <ew...@yahoo.com> on 2003/05/26 04:51:40 UTC

[users@httpd] index file not loading as expected

I have my "DirectoryIndex index.php index.shtml index.html index.htm"
defined, but the index.php is not loading.  Instead, IE will come back and
report "Cannot find server".

Here's how I am testing:
http://209.25.194.147/eric/gallery/phpwebalbum (errors)
http://209.25.194.147/eric/gallery/phpwebalbum/ (works)
http://209.25.194.147/eric/gallery/phpwebalbum/index.php (works)

I see nothing in my logs except:
12.234.100.200 - - [25/May/2003:19:46:39 -0700] "GET
/eric/gallery/phpwebalbum HTTP/1.1" 301 366
and the file permissions are:
-rw-r--r--   1 flyguy   web        11856 Apr  2 10:45
/usr/local/apache/sites/default/eric/gallery/phpwebalbum/index.php

So, apache is obviously not loading the index.php properly.

Where should I look to resolve this?

Thanks
eric



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] index file not loading as expected

Posted by Jeff Cohen <su...@gej-it.com>.
Check out your Aliases that they either all have trailing slashes, or non of
them has any.
Seems like you have a mix in your conf file.
http://www/manual/mod/mod_alias.html#alias


Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!

> -----Original Message-----
> From: Joshua Slive [mailto:joshua@slive.ca]
> Sent: Sunday, May 25, 2003 10:57 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] index file not loading as expected
> 
> 
> On Sun, 25 May 2003, Eric Wagar wrote:
> 
> > I have my "DirectoryIndex index.php index.shtml index.html index.htm"
> > defined, but the index.php is not loading.  Instead, IE will come back
and
> > report "Cannot find server".
> >
> > Here's how I am testing:
> > http://209.25.194.147/eric/gallery/phpwebalbum (errors)
> > http://209.25.194.147/eric/gallery/phpwebalbum/ (works)
> 
> See:
> http://httpd.apache.org/docs/misc/FAQ.html#set-servername
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] index file not loading as expected

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 25 May 2003, Eric Wagar wrote:

> I have my "DirectoryIndex index.php index.shtml index.html index.htm"
> defined, but the index.php is not loading.  Instead, IE will come back and
> report "Cannot find server".
>
> Here's how I am testing:
> http://209.25.194.147/eric/gallery/phpwebalbum (errors)
> http://209.25.194.147/eric/gallery/phpwebalbum/ (works)

See:
http://httpd.apache.org/docs/misc/FAQ.html#set-servername

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org