cgi-bin and htaccess problem

Powerfull XFileSharing version

Moderator: admin

Message
Author
zhumeng99
Posts: 1
Joined: May 24, 2009 5:18 pm

cgi-bin and htaccess problem

#1 Postby zhumeng99 » May 24, 2009 5:29 pm

I have installed script for upload center which have cgi based files there is 2 .htaccess file:

one in /var/www/web1/cgi-bin/.htaccess

Code: Select all

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_CGI_AUTHORIZATION:%1]

LimitRequestBody 10000000000000

<IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
       SetEnvIfNoCase Content-Type "^multipart/form-data;" MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
</IfModule>
<IfModule mod_gzip.c>
       mod_gzip_on No
</IfModule>

<IfModule mod_deflate.c>
       SetEnvIfNoCase Request_URI testenv.cgi no-gzip dont-vary
       SetEnvIfNoCase Request_URI upload_status.cgi no-gzip dont-vary
       SetEnvIfNoCase Request_URI upload.cgi no-gzip dont-vary


one in /var/www/web1/web/.htaccess

Code: Select all

deny from 127.1.1.4
deny from 127.1.1.1
RewriteEngine on

RewriteRule    ^$                                               /cgi-bin/index.cgi [L]
RewriteRule    ([0-9A-Za-z]{12})-del-([0-9A-Za-z]+)/.+$         /cgi-bin/index.cgi?del=$1-$2 [L]

RewriteCond     %{REQUEST_FILENAME} !-f
RewriteRule    ^([0-9A-Za-z\-_]*)/?([0-9A-Za-z]{12})(/[^\/]*|)(\.html?|$)$      /cgi-bin/index.cgi?op=download1&usr_login=$1&id=$2&fname=$3 [L]

RewriteCond     %{REQUEST_FILENAME} !-f
RewriteCond     %{REQUEST_FILENAME} !-d
RewriteRule    ^([0-9A-Za-z\-_]+)(/[0-9a-z\-_]*/?|$)$           /cgi-bin/index.cgi?op=user_public&usr_login=$1&fld=$2 [L,NC]

RewriteRule    ^latest-files(\d*).html$                         /cgi-bin/index.cgi?op=catalogue&page=$1 [L]

RewriteCond     %{REQUEST_FILENAME} !-f
RewriteRule    ^([a-z0-9\-\_]+).html(.*)                        /cgi-bin/index.cgi?op=page&tmpl=$1$2 [L]

a 500 Internal Server Error error
when opening site

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » May 25, 2009 1:25 pm

Email to [email protected] with your ClientID.
Can't find your current email in our database.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest