Mailing List Archive

Which directive?
On my now-working apache server, I would like to get some pages located in a
sub-sub-directory.

The URL is www.mydomaine.fr/subdir/subdir (index.php is one of the default
names).

Then I get an error: 404 not found and the URL was changed to
"www.localhost.com/subdir/subdir" (localhost is the local name of the
server).

If I add index.php to the above URL, it seems I get the page but there is a
php warning error.

I guess that there is a (some) bad directive(s) in the httpd.conf or
commonhttpd.conf but I can't find it.

--
Patrick Atlas



---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
Re: Which directive? [ In reply to ]
Patrick,

Check the servername directive and set it to www.mydomaine.fr
You are trying ot access /subdir/subdir, but the server is redirecting you to
/subdir/subdir/ (note additional slash) because it cannot resolve its name
properly

On Wed, Jan 23, 2002 at 12:19:24AM +0100, Patrick Atlas wrote:
> On my now-working apache server, I would like to get some pages located in a
> sub-sub-directory.
>
> The URL is www.mydomaine.fr/subdir/subdir (index.php is one of the default
> names).
>
> Then I get an error: 404 not found and the URL was changed to
> "www.localhost.com/subdir/subdir" (localhost is the local name of the
> server).
>
> If I add index.php to the above URL, it seems I get the page but there is a
> php warning error.
>
> I guess that there is a (some) bad directive(s) in the httpd.conf or
> commonhttpd.conf but I can't find it.
>
> --
> Patrick Atlas
>
>
>
> ---------------------------------------------------------------------
> 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
> 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
For additional commands, e-mail: users-help@httpd.apache.org