Help - CGI Script Installation Problem.

Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
SpaceshipSpaceship
Watch

senaia

VIP Member
Impact
25
Im tring to install a link directory script on one of my sites and its cgi (Hot Links SQL) . I having a problem with the cgi path and I get this message:
.....................................................
Can't locate /path/to/cgi-bin/directory/lang/english.pl in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at ./lang/langset.pl line 5.
...................................................

This should be modified in config file which contain:

$baseurl = 'http://www.sitename.com/cgi-bin/directory';
$htmlurl = 'http://www.sitename.com/directory';
$imageurl = 'http://www.sitename.com/images';
$pathtocgi = '/your/path/to/cgi-bin/directory';
$htmlpath = '/your/path/to/public_html/directory';

I know I should change SiteName which is no problem but what modifications should I do in the PATHS !!

Any help would be appreciated. Thanx
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
$pathtocgi = '/your/path/to/cgi-bin/directory';
$htmlpath = '/your/path/to/public_html/directory';

For those the easiest way is to just contact your host or refer to thier knowlege base (if they have one).

It varies on server to server. There are a few common ones, and you might be able to figure out that path by looking at how you access your site.......an example:

/www/vars/html/public_html/directory
 
0
Close
Login to your control panel for the site. Many control panels display the path information there for you.
 
0
Close
The cpanel dose not display the path to cgi. only the path to perl. Anyway, I found out the path. Thank you all for your help.
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back