Web Hosting Talk







View Full Version : Perldesk


Plexxi
07-06-2002, 02:16 AM
Has anyone tried to use it with any luck?
I've gotten it up and it always gives me a 500 internal server error

i made sure all the modules are installed correctly it requires
DBI
DBD::MySQL
MIME::Tools

which are all installed

the only thing im not able to do is the chmod -R *.cgi
im not sure where to run this command at
if anyone can help i'd greatly appreciate it.:confused:

InterServ-JB
07-06-2002, 02:18 AM
Hello there! Yes, we have got it working perfectly. You are supposed to run that command in the shell in folder where the scripts are installed. Alternatively, you can just chmod each .cgi script to 755.

Plexxi
07-06-2002, 02:25 AM
does it matter where the scripts are installed? i just have them in directory in my main public_html

basically i was unsure of whether i needed to put them in my cgi-bin in that folder or not

InterServ-JB
07-06-2002, 02:27 AM
It is recommended that you do unless you are allowed to run CGI-SCRIPTS outside of the cgi-bin folder.

Plexxi
07-06-2002, 02:45 AM
Thanks for your help.

mdrussell
07-06-2002, 04:02 AM
Are you running suexec?

StevenG
07-06-2002, 05:37 AM
Usually .cgi's are setup to run anywhere but .pl only in cgi-bin

Advise using cgi-bin for your perldesk scripts and use a redirect such as subdomain.domain.com to point to the real path.

Also check uploaded in ASCII and make sure all .cgi and .pl files have permissions set to 755

GL :D

Plexxi
07-06-2002, 10:21 AM
Originally posted by voxtreme-matt
Are you running suexec?

im not quite sure what suexec is and i have no idea if im running it or not;)

and thanks i'll try the subdomain thing

Plexxi
07-06-2002, 12:00 PM
my ip is x.x.x.x
and i have perldesk in a folder called helpdesk
the whole patch looks like this
http://x.x.x.x/~username/helpdesk

so that makes the Data Path:
/helpdesk

and the Image URL would be
http://x.x.x.x/~username/helpdesk/images

then the Base URL would be
http://x.x.x.x/~username/helpdesk

right?
also i've gone through and made sure everything was 755 not just the *.cgi , *.pl files i made all files 755 just to be safe


and now i've gone back and reuploaded everything into the cgi-bin folder just incase and it does the exact same thing.
is there something im doing wrong?

all i get when i log in as admin is a blank screen

TedS
07-06-2002, 02:31 PM
Originally posted by Plexxi
my ip is x.x.x.x
and i have perldesk in a folder called helpdesk
the whole patch looks like this
http://x.x.x.x/~username/helpdesk

so that makes the Data Path:
/helpdesk


No, when using / to start a path, you are taken back to the ROOT of your server, not the user's folder, not even the web servre but the entire server/

The correct path will look something like /home/users/xxxx/user/helpdesk

it may be completely different based on your host's setup but that's the general idea for how it works (long).

Plexxi
07-06-2002, 02:49 PM
i had totally overlooked where it said this was the system path
thanks for bringing my attention to it
im trying to get my host to tell me now but in the mean time is there a way i can find out for myself?

Plexxi
07-06-2002, 03:12 PM
Whew finally got it working

Thanks for all of your help guys!
:D :D :D :D :D