Operating System - HP-UX
1834431 Members
2152 Online
110067 Solutions
New Discussion

hpws apache 2 cgi config question

 

hpws apache 2 cgi config question

Hi,

How do you configure so that a user can execute
cgi scripts in the home directory?

I have put this in the http.conf file, but it does not work. It only displays the script instead of executing it.


Options All


What have I missed?
2 REPLIES 2
Muthukumar_5
Honored Contributor

Re: hpws apache 2 cgi config question

You have to configure ScriptAlias on httpd.conf file.
ScriptAlias /cgi-bin/ "/home/bob/"

Use as,

http://ip-address/cgi-bin/public.html

It will give the one.

You can control the access also



Easy to suggest when don't know about the problem!

Re: hpws apache 2 cgi config question

Ok, but I need the URL to be "http://server/~bob/public_html".
How do I do this?