The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help For Server Setup

Discussion in 'General Discussion' started by saamxvr, Feb 10, 2012.

  1. saamxvr

    saamxvr Well-Known Member

    Joined:
    Oct 30, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    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. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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. saamxvr

    saamxvr Well-Known Member

    Joined:
    Oct 30, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Im getting 500 error , i will send ma demo account i hope you have have look in to it !!
     
  4. saamxvr

    saamxvr Well-Known Member

    Joined:
    Oct 30, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    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. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    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/
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    From your error:

    Look close, you've misspelled RewriteEngine in the htaccess I believe.


    GL!
     
  7. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    One more thing. .htaccess looks like in cgi-bin. You can move it to public_html
     
  8. saamxvr

    saamxvr Well-Known Member

    Joined:
    Oct 30, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    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=$[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:
    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. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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!
     
Loading...

Share This Page