|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
Running CGI files outside of CGI-BIN?
Any special settings needed for this? Never had a problem before... now everything is a fucking Internal Server Error!
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
|
Your apache config files have to be setup properly for this to work ...
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
Unless you have a directory diretive set for an upper level directory to do Options [+]ExecCGI you will need to set it for the specific directory in which you have the cgi files. You can also set it in your .htaccess file if you have it enabled for that directory.
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
I FUCKING HATE PERL!
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
|
Quote:
![]() |
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
[VirtualHost xxx.xxx.xxx.xxx]
ServerName www.yourdomain.com ServerAdmin [email protected] ServerAlias yourdomain.com DocumentRoot /path/to/yourdomain/web AddType text/x-server-parsed-html .html [Directory /path/to/yourdomain] Options +ExecCGI [/Directory] [/VirtualHost] Change "[" and "]" to the proper brackets, which can't be posted on this board. < >
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
|
|
|
|
#7 | |
|
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
FUCK... I put the fucker in the fucking CGI fucking bin like it fucking wants to be... run the fucking init fine... but then the fucking setup and every fuckingthing else is fucking 500... I've never fucking had so many fucking problems in the 10 fucking years I've been fucking doing this!
Does anyone know where the errorlog is stored?
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
#9 | |
|
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
pico /etc/httpd/logs/error_log
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Feb 2002
Posts: 1,751
|
add this line to your vhost directive.
ScriptAlias /cgi-bin /usr/home/blah.com/cgi-bin you can make the dir what ever you want.
__________________
<a href="http://www.jupiterhosting.com"><img src="http://www.jupiterhosting.com/banners/55x55.jupiter.gif" alt="" border="0" align=""></a> |
|
|
|
|
|
#11 |
|
Confirmed User
Join Date: Feb 2002
Posts: 1,751
|
Should look something like this.
Code:
<VirtualHost X.X.X.X:80> ServerAdmin [email protected] DocumentRoot /usr/home/blah.com ServerAlias blah.com *.blah.com ServerName www.blah.com ScriptAlias /cgi-bin/ /usr/home/blah.com/cgi-bin/ ErrorDocument 401 /401.html ErrorDocument 402 /401.html ErrorDocument 403 /401.html ErrorDocument 404 /401.html </VirtualHost>
__________________
<a href="http://www.jupiterhosting.com"><img src="http://www.jupiterhosting.com/banners/55x55.jupiter.gif" alt="" border="0" align=""></a> |
|
|
|
|
|
#12 | |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
Quote:
FUUUUUCK... its' 400MB and just crashes my shit when I try to view it...
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Feb 2002
Posts: 1,751
|
type
tail -f /etc/httpd/logs/error_log to see it in realtime type tail -1000 /etc/httpd/logs/error_log | more to see the last most recent 1000 lines of the error log
__________________
<a href="http://www.jupiterhosting.com"><img src="http://www.jupiterhosting.com/banners/55x55.jupiter.gif" alt="" border="0" align=""></a> |
|
|
|
|
|
#14 | |
|
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
Or, delete error_log and restart apache and you will get an error log that is fresh rm -Rf /etc/httpd/logs/error_log then apachectl graceful Your error_log should be cleared, and apache restarted gracefully Just did it on one of my servers and it worked fine. Then pico /etc/httpd/logs/error_log Nice clear log!
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
|
|
|
|
|
#15 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
oki, THANKS FOR YOUR HELP EVERYONE! I'm going to go bang my fucking head against the wall... and try to figure this fucking thing out... and I'll be back...
![]()
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
#16 |
|
Registered User
Join Date: Nov 2002
Posts: 26
|
If you have ServerSideInstructions or SSI
just type it in your html file < !--#include virtual="/cgi-bin/index.cgi" --> just delete the first space before "!" and call it whatever.shtml it will execute you cgi within any directory. |
|
|
|