httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Re: possible to add multiple locations for the document root
Date Thu, 21 Oct 2010 16:22:34 GMT
On Thu, Oct 21, 2010 at 12:34 PM, e-letter <> wrote:
> I tried to use the command 'Alias', to try and use the program
> phppgadmin which was extracted to /path/to/phppgadmin:
> DocumentRoot "/var/www/html"
> Alias /localhost/target /usr/local/phppgadmin/phppgadmin

Alias refers to the path in the URL. For the URL
'http://localhost/target', the path is '/target'.

> <Directory /localhost/target>

Directory refers to physical directories on disk, not to the URL space.

> Order allow,deny
> Allow from all
> </Directory>
> After stopping and restarting the web server, when I navigate the web
> brower to 'http://localhost/target' I receive an error 404 page. In
> the phppgadmin directory there are various php pages, e.g. login.php:

Fix the above errors first.



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