
slawrence at seveninteractive
Dec 11, 2001, 1:36 PM
Post #2 of 3
(97 views)
Permalink
|
No that isn't what I'm really using So just: Options ExecCGI AddHandler server-parsed .cgi within the vhost and the pages need to be scripted to poinr towards Perl. -----Original Message----- From: Joshua Slive [mailto:joshua [at] slive] Sent: Tuesday, December 11, 2001 2:37 PM To: users [at] httpd Subject: RE: Setting up CGI in a a VHOST > From: Lawrence, Sean [mailto:slawrence [at] seveninteractive] > > I just wanted to get some clarification. I need to set up CGI on > our server > and I was wondering if the follwing config would be correct for a vhost. > First I need to say that I am trying to set this up so you can > set up CGI in > any folder. > > <VirtualHost *.*.*.*> Uhh, I assume that's not what you are really using. > ServerName server.name > ScriptAlias /cgi-bin/ "/home/html/" I doubt that is what you really want. Did you read the docs on ScriptAlias? Do you reall want http://yoursite/cgi-bin/file to be mapped to /home/html/file? If all you want is to be able to run cgi scripts anywhere in the document root, then you don't need the ScriptAlias at all. You just need the Options directive and AddHandler server-parsed .cgi If that's not what you want, you need to explain what you want in more detail. 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 [at] httpd For additional commands, e-mail: users-help [at] httpd --------------------------------------------------------------------- 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 [at] httpd For additional commands, e-mail: users-help [at] httpd
|