Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Building Websites
FAQ Community Calendar Today's Posts Search

Building Websites This section covers all aspects of publishing, developing and maintaining websites. Topics include: website design, graphic design, website programming, web hosting, website marketing (SEO, link exchange, publicity, advertising), monetization & etc.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #27  
Old 04-13-2006, 02:21 PM
Coop Coop is offline
Member
GB Beginner
 
Join Date: Apr 2006
Posts: 34
Default

To get an idea of the problem, login to your server using ssh, and run the command :-

tail -f /var/log/httpd/error_log

If your server is setup with the defaults, that should be the location of your error log file. Then go to the URL you have problems with, and see what gets printed on the screen. It will usually give you an idea of what the problem is. Depending on how you have cgi setup, you may need to enable mod_perl, but be warned, it is not possible to run mod_perl and mod_php in the same instance of apache. If you need to run both, then the normal practice is to add a line :-

#! /bin/perl

to the start of your script, and to make the file executable by world. This can be done with a :-

chmod 0755 file.cgi

from the ssh prompt, assumiong you are already in the directory containing the file. Having done that, the file should run like any other program on a unix system.
__________________
Coop
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 06:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.