httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] .htaccess for script aliased directories‏
Date Fri, 25 Apr 2008 19:10:23 GMT
2008/4/25 Pam Astor <pamastor@hotmail.com>:
>
>  > 1. The directory you entered above is not the correct path; or
> > 2. The conf file you are editting is not being read.
> >
> > Check 1 by requesting a file that you know doesn't exist and check the
> > error log to see what path apache is searching in. Check 2 by putting
> > a deliberate syntax error in the conf file, restart the server, and
> > make sure apache fails to start with an error.
> >
> > Joshua.
>
>  The directory in question - /home/mydirectory/www/awstats
>  is a path to a script alias.  In other words,
>  ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"
> (appears in the virtual domain tag for this domain).
>
>  Could that have anything to do with the problem?

Yes. <Directory> refers to the file-system directory where the content
lives. It should be <Directory /usr/local/awstats/wwwroot/cgi-bin>.

Joshua.

---------------------------------------------------------------------
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