1819771 Members
3255 Online
109606 Solutions
New Discussion

Configuring Apache

 
Amit Dixit_2
Regular Advisor

Configuring Apache

Hi,
Want to know I have some cgi-scripts
which I have placed under the cgi-bin
folder.

Now how can I configure httpd.conf
so as to point a url something like
http://core1/mytools.html

Thanks
Amit
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: Configuring Apache

To fix the location of the cgi-bin directory you change the location in the httpd.conf file.

example:

#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"


Set the cgi-bin location with trailing / marks to the actual location you want your scripts.

Then:

service httpd restart

if there are no errors, and the location exists you're ready to go.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com