saamxvr

Well-Known Member
Oct 30, 2010
90
0
56
Hello i need install XFileSharing script on my VPS and i need to know how i setup my VPS as ther Requirements

Requirements
Shortlist:

  1. Linux OS
  2. Apache web server with mod_rewrite module
  3. .htaccess files support [/http://www.tutorio.com/tutorial/enable-mod-rewrite-on-apache]
  4. Perl higher than 5.007 version
  5. Perl LWP module
  6. MySQL database
  7. DBI, DBD::mysql perl modules
  8. GD lib, GD perl module (Optional)

Thansk
 

saamxvr

Well-Known Member
Oct 30, 2010
90
0
56
Im getting 500 error , i will send ma demo account i hope you have have look in to it !!
 

saamxvr

Well-Known Member
Oct 30, 2010
90
0
56
Here is my
/usr/local/apache/logs/error_log

Code:
[Fri Feb 10 20:26:14 2012] [error] [client 175.157.41.26] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:26:34 2012] [notice] caught SIGTERM, shutting down
[Fri Feb 10 20:26:36 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Fri Feb 10 20:26:36 2012] [notice] ModSecurity for Apache/2.6.2 (ModSecurity: Open Source Web Application Firewall) configured.
[Fri Feb 10 20:26:36 2012] [notice] ModSecurity: APR compiled version="1.4.5"; loaded version="1.4.5"
[Fri Feb 10 20:26:36 2012] [notice] ModSecurity: PCRE compiled version="8.12"; loaded version="8.12 2011-01-15"
[Fri Feb 10 20:26:36 2012] [notice] ModSecurity: LIBXML compiled version="2.7.8"
[Fri Feb 10 20:26:37 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.6 configured -- resuming normal opera$
[Fri Feb 10 20:26:43 2012] [notice] caught SIGTERM, shutting down
[Fri Feb 10 20:26:45 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Fri Feb 10 20:26:45 2012] [notice] ModSecurity for Apache/2.6.2 (ModSecurity: Open Source Web Application Firewall) configured.
[Fri Feb 10 20:26:45 2012] [notice] ModSecurity: APR compiled version="1.4.5"; loaded version="1.4.5"
[Fri Feb 10 20:26:45 2012] [notice] ModSecurity: PCRE compiled version="8.12"; loaded version="8.12 2011-01-15"
[Fri Feb 10 20:26:45 2012] [notice] ModSecurity: LIBXML compiled version="2.7.8"
[Fri Feb 10 20:26:46 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.6 configured -- resuming normal opera$
[Fri Feb 10 20:27:05 2012] [error] [client 117.195.207.76] /usr/bin/perl: symbol lookup error: Modules/WSD/Filter50864.so: undefined symbol: Perl_Tstack_sp_ptr
[Fri Feb 10 20:27:05 2012] [error] [client 117.195.207.76] Premature end of script headers: install.cgi
[Fri Feb 10 20:27:05 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:27:38 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:27:38 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:28:04 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:28:04 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:29:03 2012] [alert] [client 175.157.41.26] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined b$
[Fri Feb 10 20:29:03 2012] [error] [client 175.157.41.26] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:29:59 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:29:59 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:30:03 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:30:03 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:30:08 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:30:08 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:30:13 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:30:13 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:30:44 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:30:44 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
[Fri Feb 10 20:31:03 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/403.shtml
[Fri Feb 10 20:31:57 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/403.shtml
[Fri Feb 10 20:33:23 2012] [alert] [client 117.195.207.76] /home/mbunited/public_html/cgi-bin/.htaccess: Invalid command 'ewriteEngine', perhaps misspelled or defined $
[Fri Feb 10 20:33:23 2012] [error] [client 117.195.207.76] File does not exist: /home/mbunited/public_html/500.shtml
 

Infopro

Well-Known Member
May 20, 2003
17,112
514
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
That appears to me to be a file permissions issue.

My apologies but this falls outside the scope of support on these forums as this is a custom script you're attempting to work with. You might do better to ask for assistance with configuration on the support forums for that product.
/http://sibsoft.net/forum/
 

saamxvr

Well-Known Member
Oct 30, 2010
90
0
56
Here is my root Htaccess

PHP:
deny from 127.1.1.4
deny from 127.1.1.1

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

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

RewriteRule    ^embed-([0-9A-Za-z]{12})\.html$		/cgi-bin/index_dl.cgi?op=video_embed&file_code=$1 [L]
RewriteRule    ^embedmp3-([0-9A-Za-z]{12})\.html$	/cgi-bin/index_dl.cgi?op=mp3_embed&file_code=$1 [L]
RewriteRule    ^box$					/cgi-bin/index_box.cgi [L]

RewriteRule    ^$					/cgi-bin/index.cgi [L]
RewriteRule    ^free([0-9]+)\.html$			/cgi-bin/index.cgi?op=registration&aff_id=$1 [L]
RewriteRule    ^checkfiles\.html$			/cgi-bin/index.cgi?op=checkfiles [L]
RewriteRule    ^contact\.html$				/cgi-bin/index.cgi?op=contact [L]
RewriteRule    ^premium\.html$				/cgi-bin/index.cgi?op=payments [L]
RewriteRule    ^login\.html$				/cgi-bin/index.cgi?op=login [L]
RewriteRule    ^catalogue(.*)\.html$			/cgi-bin/index.cgi?op=catalogue&date=$1 [L]
RewriteRule    ^news([0-9]*)\.html$			/cgi-bin/index.cgi?op=news&page=$1 [L]
RewriteRule    ^n([0-9]+)-.*\.html$			/cgi-bin/index.cgi?op=news_details&news_id=$1 [L]
RewriteRule    ^faq\.html$				/cgi-bin/index.cgi?op=page&tmpl=faq [L]
RewriteRule    ^tos\.html$				/cgi-bin/index.cgi?op=page&tmpl=tos [L]
RewriteRule    ^links\.html$				/cgi-bin/index.cgi?op=links [L]

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

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

RewriteRule    \.pm$					/404.html [L]

ErrorDocument 404 /404.html
Here CGI-BIN Htaccess

PHP:
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
</IfModule>
Any suggest ?