I am trying to look at access.conf to see if my SSI exec cmd is disabled, I tried "ed access.conf" but all it shows is the number 348. I am new to unix, can someone please tell me the command for this?
<a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u>
Originally posted by darksoul To disable ssi exec use
Options +IncludesNOEXEC
in yout httpd.conf file
Is is disabled and that is what is in the httpd.conf "IncludesNoExec", but I need to enable the exec cmd, being unix stupid I don't know how to.
What do I do delete "IncludesNoExec" from the file?
Is is disabled and that is what is in the httpd.conf "IncludesNoExec", but I need to enable the exec cmd, being unix stupid I don't know how to.
What do I do delete "IncludesNoExec" from the file?
Well, first off, you gotta make sure that the module is loaded at startup. You would see something like this - "LoadModule includes_module libexec/apache/mod_include.so" at the begning of the file. Make sure it doesn't have a # sign in front of it.
Secondly, make sure you don't have IncludeNoExec anywhere. Then, if lets say your web directory is in /usr/www/ then you would find where you have the web directory configured, usually looks like this: (not that the directory on your server might be different)
<Directory /usr/www>
Then you should add
Options ExecCGI in between the <Directory > and </Directory> tags. Lastly, you could add "AddHandler cgi-script .cgi" (or uncomment it by removing the # sign) to make cgi's executables from eveywhere.
If you still dont understand, copy/paste your httpd.conf file and we'll help you out.
Hope that helped.
-Dreamman
<a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u>
Well, first off, you gotta make sure that the module is loaded at startup. You would see something like this - "LoadModule includes_module libexec/apache/mod_include.so" at the begning of the file. Make sure it doesn't have a # sign in front of it.
Secondly, make sure you don't have IncludeNoExec anywhere. Then, if lets say your web directory is in /usr/www/ then you would find where you have the web directory configured, usually looks like this: (note that the directory on your server might be different)
<Directory /usr/www>
Then you should add
Options ExecCGI in between the <Directory > and </Directory> tags. Lastly, you could add "AddHandler cgi-script .cgi" (or uncomment it by removing the # sign) to make cgi's executables from eveywhere.
If you still dont understand, copy/paste your httpd.conf file and we'll help you out.
Hope that helped.
-Dreamman
<a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u>
Comment