What is the path to a file on my server

Status
Not open for further replies.

bibimic2002

New Member
Messages
5
Reaction score
0
Points
0
Hi.
I have to create a poll for my website and for that I need to place the path to the files (one .dat and one .pl file which is in Perl) within the code. I have uploaded these files in my www folder.
I know that the path to perl is /usr/bin/perl, but what path do I need to put for the files?

Thank you!
Diana Buzila
 

bibimic2002

New Member
Messages
5
Reaction score
0
Points
0
Oh and I forgot to mention that after placing "/usr/home/bibimic/www/poll.dat" and other attempts the following error message is displayed:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
If you put them in a directory named foo in public_html, the full path would be

/home/bibimic/public_html/foo/poll.dat

Note: www is another name for public_html
 

bibimic2002

New Member
Messages
5
Reaction score
0
Points
0
Thank you for your quick reply, but the same error still occurs. I placed the file directly in the public_html folder and set the address to /home/bibimic/public_html/poll.dat, but the same error will be displayed.

Maybe it was not updated yet on the server, or maybe there is still something wrong :(
 
Status
Not open for further replies.
Top