Set permissions?

Posted on 2001-06-16
Last Modified: 2013-12-25

A part of it says...

34. How do I use CGI?
You create a folder in your "public_html" folder called cgi-bin and set the permissions to allow execution of CGIs.

Do you know how to set the permission of the directory to allow the execution of CGIs?
Question by:superquestions
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 6198659

Please do not use a link for the title of a question it makes it impossible for the experts to access the body of the question.  I have edited the title and moved the link into the text of the question.

Community Support Moderator

Expert Comment

ID: 6199059
thanks for the info, teacher_mod:  that is neat, I will remember :)


for 1:
"but whenever possible avoid making directories world writable, readable and executable, as this messes up the system."
--this does not inspire confidence...I suggest you don't mention it.

also, as per your question...

I don't think you have to...but you can always set it to chmod 755 dirname

but...if you are having trouble running any cgi then you need to create the directory as a scriptAlias...

a user GorGor2 has a question open about just this.  I suggest you check it out if this is indeed the would be a server misconfig.

LVL 16

Expert Comment

ID: 6654387

Did you get the solution you were looking for?

What solution, if any, did you use?

If you have already found a solution, please go ahead and close this question.

LVL 16

Accepted Solution

maneshr earned 50 total points
ID: 6697103

Did you get the solution you were looking for?

What solution, if any, did you use?

If you have already found a solution, please go ahead and close this question.


Expert Comment

ID: 6697263
No response to update requests, finalizing today.  If Asker returns with additional need related to this question, please step back in to complete this collaboration effort.

Community Support Moderator @ Experts Exchange

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
excel file 5 78
AWK: digits < 10 add a zero how? 11 28
BATCH to EXE Converter 2 70
-OutVariable to Global 1 22
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question