httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Mearns <>
Subject Re: [users@httpd] apache configuration: always go to parent directory
Date Tue, 10 Nov 2009 15:11:52 GMT
On Tue, Nov 10, 2009 at 4:43 AM, J. Bakshi <> wrote:
> Hello,
> I have configured a personal work-space for mine in apache where I can
> experiment with different sites and here is the configuration
> ````````````````````````````````````````````
> Alias /personal/joydeep  /var/personal_work_area/joydeep
> DocumentRoot  /var/personal_work_area/joydeep/
>        <Directory /var/personal_work_area/joydeep/>
>          DirectoryIndex index.php
>           Options Indexes FollowSymLinks MultiViews
>                AllowOverride All
>                Order allow,deny
>                allow from all
>        </Directory>
> ``````````````````````````````````````````````````````````
> I have placed a folder ( a site) there. So the absolute path of that
> folder is  /var/personal_work_area/joydeep/experiment. Whenever I access
> the folder through browser by visiting
>   I  get "page not found
> error".  the log reports
> ``````````````````````````
> URL   /personal/joydeep/experiment/index.php,  referer:
> ```````````````````````````````
> It is definitely wrong as it refer the parent folder and not the
> subfolder "experiment" hence the index.php is missing.  Is there any
> problem with my configuration ?

I don't really understand the problem. The error log shows that the
index page for the child ("experiment") directory is being requested.
I'm not sure why the referer is showing up the way it is, but that
shouldn't be relevant. The URL of interest in the log is
/personal/joydeep/experiment/index.php, so it would appear that this
file, /var/personal_work_area/joydeep/experiment/index.php, doesn't

On a probably unrelated note, is there a reason you have an alias set
up for your document root? Aliases are usually used to make
directories that are not under the DocumentRoot available through the
web server, or sometimes to give alternate URLs to content that is
under the DocumentRoot (though RewriteRules are more common for that,
I think).


Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message