Gossamer Forum
Home : General : Internet Technologies :

Newbie Apache Help Needed

Quote Reply
Newbie Apache Help Needed
Ok, I managed to stop Apache from loading when I modified my httpd.conf so I re-installed the default.

I am having troubles getting it to run cgi. It just load the cgi file into the browser as text at the moment.

I have created a cgi-bin with 755 permissions.

I am using Apache 1.3.26 (Darwin)

TIA


http://www.iuni.com/...tware/web/index.html
Links Plugins
Post deleted by Ian In reply to
Quote Reply
Re: [Ian] Newbie Apache Help Needed In reply to
Try adding:

AddHandler cgi-script .cgi

to your main httpd.conf (global context). This will allow you to run cgi scripts in any directory. If you only want cgi's to run in cgi-bin, just put:

ScriptAlias /cgi-bin/ /path/to/cgi-bin/

inside the virtualhost.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Newbie Apache Help Needed In reply to
Blush I did and that worked!

Thanks Alex :)

I feel so dumb.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Newbie Apache Help Needed In reply to
oops, I had more notes that had that information to start php and cgi.

also, try that link I pasted in chat.

I did Alex's suggestion in the user user.conf ... same difference though.

openoffice + gimp + sketch ... Smile