Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member saamxvr's Avatar
    Join Date
    Oct 2010
    Posts
    71

    Default Help For Server Setup

    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

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help For Server Setup

    Someone will correct me if I'm wrong here I'm sure, but by the looks of that list, you should be good to go right now. Have you tried to run the script and if yes, what was the result?

  3. #3
    Member saamxvr's Avatar
    Join Date
    Oct 2010
    Posts
    71

    Default Re: Help For Server Setup

    Im getting 500 error , i will send ma demo account i hope you have have look in to it !!

  4. #4
    Member saamxvr's Avatar
    Join Date
    Oct 2010
    Posts
    71

    Default Re: Help For Server Setup

    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

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help For Server Setup

    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/

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help For Server Setup

    From your error:

    cgi-bin/.htaccess: Invalid command 'ewriteEngine'
    Look close, you've misspelled RewriteEngine in the htaccess I believe.


    GL!

  7. #7
    Member
    Join Date
    Nov 2011
    Posts
    302
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help For Server Setup

    One more thing. .htaccess looks like in cgi-bin. You can move it to public_html

  8. #8
    Member saamxvr's Avatar
    Join Date
    Oct 2010
    Posts
    71

    Default Re: Help For Server Setup

    Here is my root Htaccess

    PHP Code:
    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=$[L]

    RewriteRule    ^embed-([0-9A-Za-z]{12})\.html$        /cgi-bin/index_dl.cgi?op=video_embed&file_code=$[L]
    RewriteRule    ^embedmp3-([0-9A-Za-z]{12})\.html$    /cgi-bin/index_dl.cgi?op=mp3_embed&file_code=$[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=$[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=$[L]
    RewriteRule    ^news([0-9]*)\.html$            /cgi-bin/index.cgi?op=news&page=$[L]
    RewriteRule    ^n([0-9]+)-.*\.html$            /cgi-bin/index.cgi?op=news_details&news_id=$[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$[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=$[L,NC]

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

    ErrorDocument 404 /404.html 
    Here CGI-BIN Htaccess

    PHP Code:
    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 ?

  9. #9
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help For Server Setup

    Only one, and I already suggested it earlier on in this thread:

    /http://sibsoft.net/forum/

    You should seek advice from the script author.

    GL!

Similar Threads & Tags
Similar threads

  1. Replies: 14
    Last Post: 04-11-2011, 10:59 AM
  2. Server Setup - Setup Remote Access Key?
    By SoftmegUK in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-24-2010, 01:34 PM
  3. Remote mysql server setup - ssh for setup only?
    By Alcedema in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-08-2009, 01:29 PM
  4. Please setup a nameserver under Server Setup in WHM!!!
    By thongtran in forum New User Questions
    Replies: 1
    Last Post: 08-24-2005, 11:03 AM
  5. DNS Setup - Initial Server Setup
    By tonyxp in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-11-2004, 11:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube