Re: possible to add multiple locations for the document root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
<Directory /localhost/target>
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:

$ ls /usr/local/phppgadmin/phppgadmin/
aciur.js            groups.php          redirect.php
aggregates.php      help/               reports.php
all_db.php          help.php            robots.txt
autocomplete.php    HISTORY             roles.php
browser.php         history.php         rules.php
BUGS                images/             schemas.php
casts.php           indexes.js          sequences.php
classes/            indexes.php         servers.php
colproperties.php   index.php           sql/
conf/               info.php            sqledit.php
constraints.php     INSTALL             sql.php
conversions.php     intro.php           tables.js
CREDITS             lang/               tablespaces.php
database.php        languages.php       tables.php
dataexport.php      libraries/          tblproperties.php
dataimport.php      LICENSE             themes/
dbexport.php        links.js            TODO
DEVELOPERS          login.php           TRANSLATORS
display.php         logout.php          triggers.php
domains.php         multiactionform.js  types.php
FAQ                 opclasses.php       users.php
fulltext.php        operators.php       viewproperties.php
functions.js        plugin_slony.php    views.php
functions.php       privileges.php      xloadtree/

What is my mistake please?

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux