httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "motty.cruz" <motty.c...@gmail.com>
Subject RE: [users@httpd] CGI-BIN
Date Fri, 29 Oct 2010 18:20:43 GMT
Hello Rich, 
Here what I get on the browser

You don't have permission to access /second/ on this server

Here is the access_log
ip - - [29/Oct/2010:11:14:31 -0700] "GET /second/ HTTP/1.1" 403 209
ip - - [29/Oct/2010:11:14:32 -0700] "GET /second/ HTTP/1.1" 403 209
ip- - [29/Oct/2010:11:14:33 -0700] "GET /second/ HTTP/1.1" 403 209
ip - - [29/Oct/2010:11:14:33 -0700] "GET /second/ HTTP/1.1" 403 209
ip - - [29/Oct/2010:11:14:33 -0700] "GET /second/ HTTP/1.1" 403 209

here is the error_log
 [Fri Oct 29 11:13:08 2010] [error] [client ip] client denied by server
configuration: /usr/local/www/second
[Fri Oct 29 11:14:31 2010] [error] [client ip] client denied by server
configuration: /usr/local/www/ second
[Fri Oct 29 11:14:32 2010] [error] [client ip] client denied by server
configuration: /usr/local/www/ second
[Fri Oct 29 11:14:33 2010] [error] [client ip] client denied by server
configuration: /usr/local/www/ second
[Fri Oct 29 11:14:33 2010] [error] [client ip] client denied by server
configuration: /usr/local/www/ second
[Fri Oct 29 11:14:33 2010] [error] [client ip] client denied by server
configuration: /usr/local/www/ second

Thanks, 
-Motty

-----Original Message-----
From: Rich Bowen [mailto:rbowen@rcbowen.com] 
Sent: Friday, October 29, 2010 11:09 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] CGI-BIN


On Oct 29, 2010, at 1:53 PM, motty.cruz wrote:

> Hello Devraj,
> I already have the following line in my httpd.conf
>
> ScriptAlias  /cgi-bin/  "/usr/local/www/cgi-bin/"
>
> Can I add a second directory?
> ScriptAlias /second/  "/usr/local/www/second/"   <-- I added second  
> line but
> apache won't recognize the cgi scripts in side this dir.


Yes, you can have as many ScriptAlias directives as you like. When you say
"won't recognize", what precisely do you mean? What does the error log say?

--
Rich Bowen
rbowen@rcbowen.com
http://drbacchus.com/




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


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