The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> cgi-bin = root
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1078234088

Message started by MartijnL on 03/02/04 at 14:28:08

Title: cgi-bin = root
Post by MartijnL on 03/02/04 at 14:28:08

What if your cgi-bin is the root of the domain ?

The scripts are now uploaded in

subdomain.domain.com/eAuction/eAuction.pl
subdomain.domain.com/eAuction/eConfig161.pl

I got the original 1.5.3. from Everysoft working bij putting auction.pl in the root and the datafolder chmodded 777 with a .htaccess in the dir.

I now get an errormessage "no such file or directory".

What could be the solution ?


Title: Re: cgi-bin = root
Post by Forum Admin on 03/02/04 at 18:56:42

Can you be a little more specific?

Title: Re: cgi-bin = root
Post by MartijnL on 03/03/04 at 11:11:24

Browsing through the Everysoft addon database I stumbled on eAuction 161.

I do not have a specific cgi bin on my site because scripts can execute from the root of the domain.

I got Everyauction 153 working by putting auction.pl in the root and the datafolder as root/datafolder.

When I try to do the same for eAuction 161 then I get an  error 403 Forbidden. (cgi_dir and auction_dir are both blank because of uploading in the root)

If I make a directory eAuction161 and upload everything there (auction_dir = eAuction161 or /eAuction161/)  then I get this error:


Code:

Error

No such file or directory

YOUR SET UP IS not CORRECT


cgi_dir is also blank in this case.

I can run dump.pl (as mentioned in other topics) from the root

My basepath = /var/www/users/username/auctiondata/

And Perl is in !usr/bin/perl

Title: Re: cgi-bin = root
Post by Forum Admin on 03/03/04 at 15:22:57

Try to create the directory 'cgi-bin'
set chmod 755 for it
create the subdirectory '/cgi-bin/eAuction161'
and follow the install-instructions of the script.

Btw: it's not a good idea to set all server-directories into the 'executable mode' (for security reasons).

Title: Re: cgi-bin = root
Post by MartijnL on 03/03/04 at 20:50:05

It must be something incredibly simple but it's not working.

Creating a dir with cgi-bin didn't work but cgi_bin did.

This is the section of the config:

Code:

#-#############################################
# Config-Section-01
#-#############################################

# The name of your servers cgi-bin directory
   $config{'cgi_dir'}            = 'cgi_bin'; # Default for most servers
   
# The cgi-bin subdirectory where your eAuction.pl will be stored
   $config{'auction_dir'}      = 'eAuction161';
   
# The Path to a 'NON-WEBACCESSABLE' directory of your system
# Maybe you have to chmode it if you use your own setting

  $config{'get_path'}              = 0; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = '/var/www/users/username/cgi_bin/eAuction161/auctiondata/';

# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM

  # $config{'get_mail'}            = 1; # Set this from 1 to 0 if you want to use your own setting  
  # $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   $config{'mailhost'}      = 'smtp.domain.nl';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;


Sorry to take up your time like this.

But thanks for the assistance.


Title: Re: cgi-bin = root
Post by Forum Admin on 03/03/04 at 22:02:14

Sorry - but I cannot check this out without having FTP access to your server .

Title: Re: cgi-bin = root
Post by Mo-Jo on 12/28/04 at 02:59:11

all you need to do is remove this /var/www/users/username/  in the basepath

just do something like auctiondata <----- that will do

y/o/u/r/n/a/m/e/1/2/3/4/5 <-----  no one will ever find it + .htaccess each dir :)

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.