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 ... 4 5 6 7 
error: permission denied (Read 4584 times)
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: error: permission denied
Reply #15 - 07/26/06 at 16:10:39
 
The following will match the (security) requirements of the script:

srv/www/eAuction161/
srv/www/cgi-bin/eAuction161/[TheProgramFiles]
srv/www/htdocs/eAuction161/

But in order to give you a real advice, I would have to visit your server.
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
sabort
eAuction Novice
*
Offline

I Love Perl

Posts: 1

Re: error: permission denied
Reply #16 - 08/08/06 at 20:52:29
 
i am getting the following error (the two paths following the 'Error' line i added):

Quote:
Use of uninitialized value in split at /var/www/hosts/pdx.memebot.com/cgi-bin/eAuction161/eAuction.pl line 3997.
Error
/var/www/hosts/pdx.memebot.com/eAuction161
/var/www/html/eAuction

Permission denied

YOUR SET UP IS NOT CORRECT


the first path is what is returned as the basepath; the second, the html_path.

the pathing information from my config file is as follows:

Quote:
#-#############################################
# 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'}            = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}            = '/var/www/hosts/pdx.memebot.com/';

# 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'}        = 0; # Set this from 1 to 0 if you want to use your own setting  
  $config{'mailprog'}        = '/usr/bin/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   #$config{'mailhost'}    = 'http://YourSMTP-Host';  
 
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}    = 0;


whether i set get_path to 0 or use the custom basepath listed above, i get the same basepath, /var/www/hosts/pdx.memebot.com/eAuction161, without an ending '/'.  when i scan the code for basepath, however, i see references expecting an ending '/'.  am i missing something?

anyhow, my server configuration, with permissions in brackets, is as follows:

/root
 |
 |--/eAuction161 [777]
 |
 |--/cgi-bin/eAuction161 [755]
 |                                 ../eAuction.pl [755]
 |                                 ../eConfig161.pl [644]

lastly, the output from dump.pl is as follows:

Quote:
Environment:

DOCUMENT_ROOT => /var/www/html

GATEWAY_INTERFACE => CGI/1.1

HTTP_ACCEPT => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5

HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.7

HTTP_ACCEPT_ENCODING => gzip,deflate

HTTP_ACCEPT_LANGUAGE => en-us,en;q=0.5

HTTP_CONNECTION => keep-alive

HTTP_COOKIE => __utma=262015505.52249455.1153524596.1153633509.1153657093.6; __utmz=262015505.1153524596.1.1.utmccn=(referral)|utmcsr=free-webhosts.com|utmcc
t=/reviews/Memebot.php|utmcmd=referral

HTTP_HOST => pdx.memebot.com

HTTP_KEEP_ALIVE => 300

HTTP_USER_AGENT => Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5

PATH => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

PATH_TRANSLATED => /var/www/hosts/pdx.memebot.com/public_html/pdx.memebot.com/eAuction161/dump.pl

QUERY_STRING =>

REDIRECT_STATUS => 200

REQUEST_METHOD => GET

REQUEST_URI => /cgi-bin/eAuction161/dump.pl

SCRIPT_FILENAME => /var/www/hosts/pdx.memebot.com/cgi-bin/eAuction161/dump.pl

SCRIPT_NAME => /cgi-bin/pdx.memebot.com/eAuction161/dump.pl

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


SCRIPT_URL => /cgi-bin/eAuction161/dump.pl

SERVER_ADDR => 209.51.200.18

SERVER_ADMIN => root@localhost

SERVER_NAME => pdx.memebot.com

SERVER_PORT => 80

SERVER_PROTOCOL => HTTP/1.1

SERVER_SIGNATURE =>
Apache/2.0.54 (Fedora) Server at pdx.memebot.com Port 80

SERVER_SOFTWARE => Apache/2.0.54 (Fedora)


my site, obviously, is pdx.memebot.com, if anyone interested in assisting would like to access it for themselves.  

please advise as to what settings may be amiss in my setup, or whether you require more information to make such an assessment.

tia,
daVe
Back to top
 
 


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

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: error: permission denied
Reply #17 - 08/09/06 at 16:58:52
 
Sorry, but I can't do anything without having access to your server.
Please, drop me an eMail.
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
Pages: 1 ... 4 5 6 7 


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