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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to