httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis M. O'Neill" <den...@safertechnologies.com>
Subject [users@httpd] Newbie Config Question
Date Tue, 24 Feb 2004 17:09:40 GMT
<html>
<body>
I am trying to configure my server to use the Metadot portal. I manually
set things up and made the following changes to the httpd.conf file (from
diff):<br><br>
[root@safer-test conf]# diff httpd.conf *.orig<br>
308c308<br>
&lt; DocumentRoot &quot;/safer/metadot/metadot/html&quot;<br>
---<br><br>
&gt; DocumentRoot &quot;/usr/local/apache/htdocs&quot;<br><br>
388c388<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; DirectoryIndex index.html index.pl<br>
---<br><br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; DirectoryIndex index.html<br><br>
611,623d610<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; # Metadot aliases<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; Alias /images/&nbsp;&nbsp;
/safer/metadot/metadot/html/images/<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; Alias
/js/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/safer/metadot/metadot/html/js/<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; Alias /metadot/&nbsp;
/safer/metadot/metadot/metadot/<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; Alias /public/&nbsp;&nbsp;
/safer/metadot/metadot/sitedata/public/<br>
&lt;<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Location &quot;/metadot/&quot;&gt;<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetHandler
perl-script<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; PerlHandler Apache::Registry<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; Options +ExecCGI<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Location&gt;<br>
&lt;<br>
&lt; <br><br>
When I restarted the server everything ran just fine (i.e., I could
access all content under the ./metatdot directory). I then shut my system
down and rebooted. Now when I try to get to
<a href="http://www.safer-test.com/metadot/" eudora="autourl">www.safer-test.com/metadot/</a>,
I get a 404 error. The info from the logs is<br><br>
access_log:<br><br>
127.0.0.1 - - [24/Feb/2004:11:05:47 -0600] &quot;GET /metadot/index.pl
HTTP/1.1&quot; 404<br>
1040 &quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.0.1) Gecko/20020830&quot;<br><br>
error_log:<br><br>
[Tue Feb 24 11:05:47 2004] [error] [client 127.0.0.1] File does not
exist: /var/www/html/metadot <br><br>
So, the question is, why isn't Apache looking in
/safer/metadot/metatdot/metadot? Shouldn't the <br><br>
Alias /metadot/&nbsp; /safer/metadot/metadot/metadot/<br><br>
directive override the /var/www/html default?<br><br>
Thanks,<br><br>
Dennis<br><br>
<br><br>
<x-sigsep><p></x-sigsep>
Dennis M. O'Neill<br>
<font size=4 color="#0000FF"><b>SAFER Technologies, LLC<br>
</b></font>(713) 204-0908<br>
<a href="mailto:dennis@safertechnologies.com">dennis@safertechnologies.com
<br>
</a></body>
</html>



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


Mime
View raw message