Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Go Daddy & Sbox  (Read 430 times)
0 Members and 1 Guest are viewing this topic.
ken
New Member
*

Karma: 0
Offline Offline

Posts: 0

retired


WWW
« on: April 15, 2005, 11:18:00 AM »

Having a problem with go daddy and their cgi folder.
the calendar works fine except for the admin script. http://azsrsoftball.com/cgi/Calendar/calendar.pl

then when i try to go to the admin i get this url.
http://azsrsoftball.com/cgi-bin/sbox/Calendar/calendar_admin.pl

how do i get it not to go cgi-bin/sbox and keep it cgi/???

ken

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: April 15, 2005, 12:51:00 PM »

Have you tried what was suggested in the previous forum message "GoDaddy Hosting and sbox"?

Dan O.

------------------

Logged
ken
New Member
*

Karma: 0
Offline Offline

Posts: 0

retired


WWW
« Reply #2 on: April 15, 2005, 01:11:00 PM »

yes i tried that..still no success...

ken

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: April 16, 2005, 12:22:00 PM »

Than you may need to check with GoDady's support for a solution or hard code the path you want the script(s) to use into those variables.  

 BTW. The "| |" in code of that other message should not have any spaces between them when written into the script's pages. This forum software adds the space when posting in the forums.

Dan O.

------------------

Logged
kmadsen
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


WWW
« Reply #4 on: April 17, 2005, 11:02:00 PM »

Not sure if this will help, but I also have the BASE_DIR variable set as follows (for GoDaddy):

$BASE_DIR = "cgi/calendarscript/";

Note that I do not have the intervening "Calendar" directory in my comfiguration.

Kent

------------------

Logged
jbrau
Guest
« Reply #5 on: January 06, 2006, 12:22:00 PM »

I was having Godaddy/sbox problems with MovableType and managed to hack a fix by putting this line near the header of all my perl cgi scripts:

$ENV{SCRIPT_NAME} =~ s/-bin\/sbox//;

This changes the SCRIPT_NAME environment variable from, for examle, /cgi-bin/sbox/blag.pl to /cgi/blag.pl.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #6 on: January 07, 2006, 12:16:00 PM »

Good idea! Thanks for letting others know.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: