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:[email protected]] Sent: Friday, October 29, 2010 11:09 AM To: [email protected] Subject: Re: [us...@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 [email protected] 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected]
