Enabling Perl CGI Scripts

Joined
Nov 22, 2006
Messages
33
Reaction score
0
Points
6
Hi,

Can someone help me to get this to work? I'm doing some testing of Perl CGI Scripts for my website, but I don't know how to enable CGI Scripting. I found this website

http://www.cgi101.com/book/connect/mac.html

but I can't modify my httpd.conf file. It seems like I don't have the proper permissions to make changes to this file, and chmod doesn't work for some reason.

Thanks,

Dan
 
Joined
Jun 6, 2006
Messages
1,153
Reaction score
94
Points
48
Your Mac's Specs
MacBook 2.0GHz White, 512MB RAM, 60GB HDD
You need to use sudo to give yourself admin privileges temporarily, like this:


sudo nano httpd.conf

It will ask for your password, then open httpd.conf in nano which is fairly self explanatory.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top