Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
General Discussions
Switcher Hangout (Windows to Mac)
CGI Scripts
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="danimal" data-source="post: 284966" data-attributes="member: 22985"><p>Hi all,</p><p></p><p>I posted this over in another section, but I dunno, maybe people don't check there as often, so I'm hoping I get more responses over here.</p><p></p><p>I setup my httpd.conf file following the directions on this site:</p><p></p><p><a href="http://www.cgi101.com/book/connect/mac.html" target="_blank">http://www.cgi101.com/book/connect/mac.html</a></p><p></p><p>I am able to view .html pages hosted in my "Sites" directory, but I can't view .pl or .cgi files.</p><p>When I try to open a .pl file in my web browser, it says "Forbidden. You don't have permission to access /~hsujd/printenv.pl on this server."</p><p>I checked the permissions of my .pl file, and it is world executable.</p><p>I checked the apache error log, and it says that "Options ExecCGI is off in this directory: /Users/hsujd/Sites/printenv.pl"</p><p>In my httpd.conf file, I have the line "Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI"</p><p>Also, the line "LoadModule cgi_module libexec/httpd/mod_cgi.so" is active.</p><p></p><p>Could someone please help me? I'm stuck.</p><p></p><p>Thanks,</p><p>Dan</p></blockquote><p></p>
[QUOTE="danimal, post: 284966, member: 22985"] Hi all, I posted this over in another section, but I dunno, maybe people don't check there as often, so I'm hoping I get more responses over here. I setup my httpd.conf file following the directions on this site: [url]http://www.cgi101.com/book/connect/mac.html[/url] I am able to view .html pages hosted in my "Sites" directory, but I can't view .pl or .cgi files. When I try to open a .pl file in my web browser, it says "Forbidden. You don't have permission to access /~hsujd/printenv.pl on this server." I checked the permissions of my .pl file, and it is world executable. I checked the apache error log, and it says that "Options ExecCGI is off in this directory: /Users/hsujd/Sites/printenv.pl" In my httpd.conf file, I have the line "Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI" Also, the line "LoadModule cgi_module libexec/httpd/mod_cgi.so" is active. Could someone please help me? I'm stuck. Thanks, Dan [/QUOTE]
Verification
Post reply
Forums
General Discussions
Switcher Hangout (Windows to Mac)
CGI Scripts
Top