eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 4 ... 14
basepath setup (Read 7855 times)
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: basepath setup
Reply #3 - 12/11/03 at 15:55:05
 
If the cgi-bin directory is a subdirectory of the web directory ...

$config{'cgi_dir'} = 'web/cgi-bin';
$config{'get_path'} = 1;

or:
$config{'cgi_dir'} = 'htdocs/cgi-bin';
$config{'get_path'} = 1;

more general:
$config{'cgi_dir'} = 'TheNameOfTheWebDirectory/cgi-bin';
$config{'get_path'} = 1;

Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: basepath setup
Reply #4 - 12/11/03 at 16:15:50
 
- Copy the following code and save it as dump.pl
- Upload it to the cgi-bin directory of your server
- chmod it 755
- run it via browser by typing:
 Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Code:
#!/usr/bin/perl
use CGI qw/:standard/;
	 
print header,
 start_html,
 h2("Parameter:"), CGI::as_string(),
 h2("Environment:"),
 (map { p("$_ => $ENV{$_}") } sort keys %ENV),
 end_html; 



It will display all information you need.
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
floinfo
eAuction User
**
Offline

I love Perl

Posts: 26

Re: basepath setup
Reply #5 - 12/12/03 at 04:52:52
 
Thank guys for your help!!

I upload both scripts (dump.pl and servercheck.pl) and both show me a bunch of data, and I pick the:

DOCUMENT_ROOT => /mnt/web_h/d01/s35/b01d0079

I inserted in the eConfig161.pl

$config{'cgi_dir'}         = 'cgi-bin';
$config{'auction_dir'} = 'eAuction161';
$config{'get_path'}          = 0;
$config{'basepath'}      = '/mnt/web_h/d01/s35/b01d0079/';

All of the files located in the cgi-bin/eAuction161 directory...

When I hit the site in the browser:
Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


I get a bunch of ERROR.... like "Permission Denied" (take a look)

What is the problem??? Please help!
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 3 4 ... 14


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only