Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Bidding Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-16-2003, 07:40 PM   #1 (permalink)
Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,953
iTrader: 0 / 0%
South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Still lookin' and needin' help

Sorry to keep posting this all over the forums, but I'm really stuck. I've gotten a few answers but none panned out.

The servers I am using ( a reseller account with Matrix but I really only use it for my clients sites) will not let me run perl programs if any part of the script has a .pl extension. It won't even ackowlege the script. If I make no changes other than changing all .pl files to .cgi, the program starts working. This isn't practical with larger scripts as all referring language within the script must be changed or it's broken.

Matrix support said it might be a MIME issue. I honestly am brand new at dealing with the server end of things other than calling support and complaining. Can someone tell me in "special ed" language what this might be and how to correct it?

Thanks very much.
__________________
"The modern definition of 'racist' is someone who is winning an argument with a liberal."

Statesboro Web Design | Southland Magazine
South is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-16-2003, 08:26 PM   #2 (permalink)
QT_
Contributing Member
 
Join Date: 10-13-03
Location: San Antonio, Tx
Posts: 387
iTrader: 0 / 0%
Latest Blog:
None

QT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really nice
The web server doesn't know to treat .pl files as CGI scripts, so you need to tell it to do so. If you're running Apache, you can do this with AddHandler. The following should already exist in your httpd.conf:

AddHandler cgi-script .cgi

You can just add .pl to the end:

AddHandler cgi-script .cgi .pl

Then restart Apache.
QT_ is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-16-2003, 08:48 PM   #3 (permalink)
Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,953
iTrader: 0 / 0%
South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Qt, I knew you would be my salvation!

I do run Apache. Can you tell me how to do this from whm? Remember, s-p-e-a-k v-e-r-y s-l-o-w-l-y. Don't assume I know anything.
__________________
"The modern definition of 'racist' is someone who is winning an argument with a liberal."

Statesboro Web Design | Southland Magazine
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-16-2003, 09:05 PM   #4 (permalink)
QT_
Contributing Member
 
Join Date: 10-13-03
Location: San Antonio, Tx
Posts: 387
iTrader: 0 / 0%
Latest Blog:
None

QT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really nice
Erk...I have no clue how to do it from WHM.

It's quite simple to do it through SSH (here's the howto step-by-step if you feel comfortable in doing it this way)

1. SSH into your server.
2. Type the following:

# su -
<enter root password>
# vi /usr/local/apache/conf/httpd.conf

Find the following line:

AddHandler cgi-script .cgi

Once you find that line, type "A" (make sure it's a capital A) and add the .pl to the end of that line so it looks like this:

AddHandler cgi-script .cgi .pl

Once you've added that to the end of that line, hit your ESC key and type this:

:wq

Then restart Apache:

# /usr/local/apache/bin/apachectl restart

Voila!
QT_ is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-16-2003, 09:30 PM   #5 (permalink)
Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,953
iTrader: 0 / 0%
South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Man I hate having to post things here that make me look stupid....here we go.

I don't know how to SSH. I don't even know what it means.

I may be able to use the info you gave me to find a way to do it from inside whm. Thanks, and sorry for the ignorance.
__________________
"The modern definition of 'racist' is someone who is winning an argument with a liberal."

Statesboro Web Design | Southland Magazine
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-17-2003, 06:11 AM   #6 (permalink)
QT_
Contributing Member
 
Join Date: 10-13-03
Location: San Antonio, Tx
Posts: 387
iTrader: 0 / 0%
Latest Blog:
None

QT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really niceQT_ is just really nice
Posting your questions doesn't make you (or anyone else who has questions) look stupid. It's the only way you're going to learn. If you don't ask, you'll never know, right? Once you learn how to SSH into your server and learn how to do things by the command line, you'll see just how easy it is and you'll be doing it all the time.

You can get a free ssh client (PuTTY) at:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Once you have it installed:

1. Open PuTTY.

2. Connect to your server:

# ssh username@IPAddressHere

Log in as your Primary User, enter your password when prompted for a password.

3. Once you are logged in, you should see this:

[username@hostname username] $

4. Su to root:

# su -

Type in the root password when prompted for a password.

5. If you su'ed successfully, your prompt should look like this now:

[root@hostname root] #

Then you type:

# vi /usr/local/apache/conf/httpd.conf

Find the line that I mentioned above and follow the steps in my previous post from there.

Anytime you have a question about what you're doing with your server or how to do something with it, you can ask me anytime and I'll be more than happy to help you. You can also shoot me a quick PM and I'll send you my e-mail address so you can ask me through there as well (since I'm not around here as much as I'd like to be).
QT_ is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-17-2003, 09:22 AM   #7 (permalink)
Inactive
 
I, Brian's Avatar
 
Join Date: 10-26-03
Posts: 2,466
iTrader: 0 / 0%
Latest Blog:
None

I, Brian is liked by somebodyI, Brian is liked by somebodyI, Brian is liked by somebodyI, Brian is liked by somebodyI, Brian is liked by somebody
I'll second that about learning.

Still, sounds like you've jumped quite in the deep end - at least if you swim you'll be laughing.
I, Brian is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-24-2003, 07:56 AM   #8 (permalink)
Inactive
 
Join Date: 10-13-03
Location: Brooklyn Park, MN
Posts: 410
iTrader: 0 / 0%
Latest Blog:
None

server-admin is liked by many
Send a message via Yahoo to server-admin
You sure your going to be able to make the changes to the httpd.conf as a re-seller ?
server-admin is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Happy Birthday Colleen - 28 and still lookin' great! Kitchen Designer Forum Lobby 57 05-16-2006 06:18 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:24 PM.
© Copyright 2008 V7 Inc