MySQLDumper-Board Forum Index Follow me on Twitter

Portal  •   Forum  •  Downloads  •  Profile  •  Search   •  Register  •  Log in to check your private messages  •  Log in  •  


 Perl Forbidden Error

Post new topicReply to topic
Author Message
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-11, 23:03    Perl Forbidden Error Reply with quoteBack to top

Hi,

Long time since I've been back here. I just upgraded to 1.24.4 and was trying to run the perl scripts to make sure they work. When I run the perl test I get access forbidden. I thought it was a file permission at first, but that was not the case.

Have any ideas of where I can start to look?

OfflineView user's profileSend private messageVisit poster's website    
Anzeigen











Posted:    Anzeigen Back to top


    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-11, 23:23    (No subject) Reply with quoteBack to top

The folder and the files need to have chmod 0755.
_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-11, 23:29    (No subject) Reply with quoteBack to top

Hmmm. I just chmod all the files to 0755.

When I go to the http://domain.com/msd_folder/msd_cron/crondump.pl?config=mysqldumper

I get access forbidden. It seems all the .pl files have access forbidden

OfflineView user's profileSend private messageVisit poster's website    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-11, 23:33    (No subject) Reply with quoteBack to top

Looks like you chmodded the wrong files. Wink
_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-11, 23:39    (No subject) Reply with quoteBack to top

Nope :P

Image

OfflineView user's profileSend private messageVisit poster's website    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-11, 23:45    (No subject) Reply with quoteBack to top

Some hosts only allow the execution of Perl in the folder cgi-bin. Ask your host if this is the case or move the perl files there.
_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-11, 23:53    (No subject) Reply with quoteBack to top

I never had to before so that's why I'm puzzled
OfflineView user's profileSend private messageVisit poster's website    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-11, 23:56    (No subject) Reply with quoteBack to top

The chmod is not set to 0755! The read bit is missing for "all".
_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-12, 00:02    (No subject) Reply with quoteBack to top

Just looked at the error logs. I'm getting this error:


Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/domain.com/httpdocs/msd/msd_cron/crondump.pl

OfflineView user's profileSend private messageVisit poster's website    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-12, 00:06    (No subject) Reply with quoteBack to top

MySQLDumper doesn't use any RewriteRules - so your problem seems not to be related to MySQLDumper.
_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-12, 00:10    (No subject) Reply with quoteBack to top

Ok, it's my .htaccess file on the web root of the server that is causing issues.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]

Can I add a .htaccess file to my msd folder to overwrite the web root htaccess file?

OfflineView user's profileSend private messageVisit poster's website    
Siebird
Donator
Donator




Age: 30
Joined: 21 Jan 2009
Posts: 18
Location: Pennsyltucky


usa.gif

PostPosted: 2011-11-12, 00:16    (No subject) Reply with quoteBack to top

I got it working. I turned off the RewriteEngine in my MSD folder. Working as expected!
OfflineView user's profileSend private messageVisit poster's website    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-12, 00:17    (No subject) Reply with quoteBack to top

Did you create a directorty protection in MSD?
The created .htaccess in the MSD-folder should already contain an entry
RewriteEngine Off

_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts Perl Backup immer Error 404 luckyheiko Fehler / Probleme 6 2012-05-23, 10:06 View latest post
No new posts Backup Error Vengeance66 Errors and questions 4 2012-04-02, 16:52 View latest post
No new posts MySQL-ERROR / nach phpmyadmin passwor... stone_22 MySQLDumper 1.24 4 2012-03-31, 00:40 View latest post
No new posts Error beim wiederherstellen der Daten... nefertia Errors and questions 4 2012-03-28, 18:59 View latest post
No new posts Perl: Eine Datenbank wird übersprungen Vee Fehler / Probleme 1 2012-03-28, 07:57 View latest post

 
CrackerTracker © 2004 - 2012 CBACK.de

Powered by Orion based on phpBB © 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
All times are GMT + 2 Hours

phpBB SEO