Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-15-2002, 08:14 PM   #1
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
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?
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 08:18 PM   #2
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
try
ee access.conf or pico

and maybe look in httpd.conf instead since access.conf is rarely used.
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 08:33 PM   #3
zoic
Registered User
 
Join Date: Nov 2001
Posts: 84
If you just want to view the file -

cat access.conf | more

z
zoic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 08:43 PM   #4
Dreamman010
Confirmed User
 
Join Date: Jan 2002
Location: Toronto, ON, Canada
Posts: 1,081
'less httpd.conf'
__________________
<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>
Dreamman010 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 08:45 PM   #5
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Thanks you guys now all I got to do is figure out what the hell I am looking at
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 09:24 PM   #6
spanky
Confirmed User
 
Industry Role:
Join Date: Apr 2002
Posts: 231
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
spanky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 09:40 PM   #7
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
To disable ssi exec use
Options +IncludesNOEXEC
in yout httpd.conf file
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 09:49 PM   #8
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
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?
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 10:22 PM   #9
Dreamman010
Confirmed User
 
Join Date: Jan 2002
Location: Toronto, ON, Canada
Posts: 1,081
Quote:
Originally posted by kenny


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>
Dreamman010 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 10:23 PM   #10
Dreamman010
Confirmed User
 
Join Date: Jan 2002
Location: Toronto, ON, Canada
Posts: 1,081
Quote:
Originally posted by Dreamman010


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>
Dreamman010 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 11:14 PM   #11
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Yea it worked thankx a whole lot, I don't know why they can't make unix less confusing
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.