![]() |
Unix help
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?
:helpme |
try
ee access.conf or pico and maybe look in httpd.conf instead since access.conf is rarely used. |
If you just want to view the file -
cat access.conf | more z |
'less httpd.conf'
|
Thanks you guys now all I got to do is figure out what the hell I am looking at:)
|
You want to be sure that you've got
Options +Includes for your web directory and either set a handler to server-parsed for .shtml files or use the XBitHack. http://httpd.apache.org/docs/howto/ssi.html cheers |
To disable ssi exec use
Options +IncludesNOEXEC in yout httpd.conf file |
Quote:
What do I do delete "IncludesNoExec" from the file? |
Quote:
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 |
Quote:
|
Yea it worked thankx a whole lot, I don't know why they can't make unix less confusing:thumbsup
|
All times are GMT -7. The time now is 03:06 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123