RE: CGI-BIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx] 
Sent: Friday, October 29, 2010 11:09 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux