<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 08/24/2010 04:48 AM, Mike Perkins wrote:
<blockquote cite="mid:4C73A37A.7040307@randomtraveller.org.uk"
type="cite">Mark Adams wrote:
<br>
<blockquote type="cite"><br>
Is there anything else I should have done because the error log
indicates I'm still hammering at /var/www/mythweb?!
<br>
<br>
# tail -n 1 /var/log/httpd/error_log
<br>
[Tue Aug 24 04:17:04 2010] [error] [client 192.168.1.106] client denied
by server configuration: /var/www/mythweb
<br>
<br>
</blockquote>
Yup. There's an /Alias/ line somewhere which equates
<a class="moz-txt-link-freetext" href="http://site/mythweb">http://site/mythweb</a> to /var/www/html/mythweb. Change that and you
should get somewhere.
<br>
<br>
</blockquote>
Okay, the only alias that I found in reference to mythweb was in the
/etc/httpd/conf/webapps.d/not-mythweb.conf file. I changed that and
restarted the web server, now I get an object not found:<br>
<br>
Object not found!
<br>
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again. <br>
If you think this is a server error, please contact
the <a href="mailto:root@shuttle">webmaster</a>.
<br>
Error 404
<address> </address>
<address><a href="http://pvr/">pvr</a><br>
<span>Apache/2.2.14 (Mandriva Linux/PREFORK-1.5mdv2010.0)</span></address>
<address></address>
<br>
And not just for mythweb either. I get the object not found for
"http://pvr" despite the fact that apache is running.<br>
<br>
And the error_log for http says:<br>
[error] [client 192.168.1.106] script '/var/www/html/mythweb.php' not
found or unable to stat<br>
<br>
<br>
# ll /var/www/html<br>
total 20<br>
drwxr-xr-x 2 root root 4096 2010-03-18 11:45 addon-modules/<br>
-rw-r--r-- 1 root root 1150 2010-01-07 05:13 favicon.ico<br>
-rw-r--r-- 1 root root 215 2010-01-07 05:13 index.html<br>
drwxr-xr-x 7 root root 4096 2010-08-24 04:01 mythweb/<br>
-rw-r--r-- 1 root root 620 2010-01-07 05:13 robots.txt<br>
<br>
[root@pvr webapps.d]# ll /var/www/html/mythweb<br>
total 28<br>
drwxr-xr-x 5 root root 4096 2010-08-24 03:59 classes/<br>
lrwxrwxrwx 1 root root 21 2010-08-24 04:01 data ->
/var/lib/mythweb/data/<br>
drwxr-xr-x 2 root root 4096 2010-08-24 03:59 includes/<br>
drwxr-xr-x 4 root root 4096 2010-08-24 03:59 js/<br>
drwxr-xr-x 16 root root 4096 2010-08-24 03:59 modules/<br>
-rwxr-xr-x 1 root root 1349 2010-08-24 03:59 mythweb.php <--
Looks okay to me. You?<br>
-rwxr-xr-x 1 root root 3000 2010-08-24 03:59 mythweb.pl*<br>
drwxr-xr-x 9 root root 4096 2010-08-24 03:59 skins/<br>
<br>
I'll see if I can get access to apache, but this makes no sense to me.<br>
<br>
Mark<br>
<br>
</body>
</html>