[NTLUG:Discuss] Apache Server error

Bobby Wrenn bobby at wrennest.com
Sun Jan 5 16:48:08 CST 2003


I have been having trouble getting apache configured to run a perl
program in an aliased directory. So, I set up a fresh RH7.3 install and
loaded perl modules until the programs install routine was happy.

Then I tried to access the alias directory. the alias is:
Alias /rt2/ "/usr/local/rt2/WebRT/html"

when trying to access http://192.168.1.13/rt2/ I get the following:
------------

Not Found

The requested URL /usr/local/rt2/WebRT/html/NoAuth/webrt.css was not
found on this server.
---------------

/var/log/httpd/error_log shows:

[Sun Jan  5 16:02:54 2003] [error] [client 192.168.1.4] File does not
exist: /var/www/html/usr/local/rt2/WebRT/html/NoAuth/webrt.css

---------------
The file does exist in the indicated path
/usr/local/rt2/WebRT/html/NoAuth/

This looks like a problem in httpd.conf. But I am not sure how.
The last error from /var/log/httpd/error-log is:

----------------
[Sun Jan  5 16:26:38 2003] [error] [client 192.168.1.4] File does not
exist: /var/www/html/usr/local/rt2/

----------------
So for some reason apache is expanding the path instead of aliasing it.
Owhership and permissions for the path to the program match those for
the path to /var/www/html.

Any idea what I need to change?

TIA
Bobby




More information about the Discuss mailing list