NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Help - CGI Script Installation Problem.

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-12-2005, 06:53 AM THREAD STARTER               #1 (permalink)
Senior Member
 
senaia's Avatar
Join Date: Aug 2004
Location: Senaia.com
Posts: 1,314
senaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant future
 



Sad Help - CGI Script Installation Problem.


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.
????: NamePros.com http://www.namepros.com/programming/89597-help-cgi-script-installation-problem.html
.................................................. .

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
senaia is offline  
Old 05-12-2005, 08:01 PM   #2 (permalink)
NamePros Member
Join Date: May 2005
Posts: 124
stma is on a distinguished road
 



$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
stma is offline  
Old 05-14-2005, 06:32 PM   #3 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Login to your control panel for the site. Many control panels display the path information there for you.
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Old 05-15-2005, 01:35 AM THREAD STARTER               #4 (permalink)
Senior Member
 
senaia's Avatar
Join Date: Aug 2004
Location: Senaia.com
Posts: 1,314
senaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant futuresenaia has a brilliant future
 



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.
senaia is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
60.000 Templates, scripts, fonts, banners etc. $9.95 atkims Web Development Wanted 19 11-16-2004 10:48 AM
May Script Installation Special--Chance for free webhosting iidavidii Scripts For Sale 0 05-04-2004 01:44 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:40 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger