RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
/cgi-bin/ files return 404 Not Found

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
th3hotcake



Joined: 07 Apr 2009
Posts: 51

PostPosted: Jan 28, 2010 12:57 am    Post subject: /cgi-bin/ files return 404 Not Found Reply with quote

New server without control panels or anything.

Trying to install this additional server, but keep getting 404 Not Found when I try to connect to install_fs.cgi.

Code:
<VirtualHost *:80>
   ServerAdmin support@****
   
   DocumentRoot /var/www/
   <Directory />
      Options FollowSymLinks
      AllowOverride None
   </Directory>
   <Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>

   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
   <Directory "/usr/lib/cgi-bin/">
      Options +ExecCGI Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>

   ErrorLog /var/log/apache2/error.log

   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   LogLevel warn

   CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>


Any advice?
Back to top
View user's profile Send private message
sherayusuf3



Joined: 18 Jan 2009
Posts: 88
Location: Jakarta Indonesia

PostPosted: Jan 28, 2010 2:25 am    Post subject: Re: /cgi-bin/ files return 404 Not Found Reply with quote

th3hotcake wrote:
New server without control panels or anything.

Trying to install this additional server, but keep getting 404 Not Found when I try to connect to install_fs.cgi.

Code:
<VirtualHost *:80>
   ServerAdmin support@****
   
   DocumentRoot /var/www/
   <Directory />
      Options FollowSymLinks
      AllowOverride None
   </Directory>
   <Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>

   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
   <Directory "/usr/lib/cgi-bin/">
      Options +ExecCGI Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>

   ErrorLog /var/log/apache2/error.log

   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   LogLevel warn

   CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>


Any advice?



you have mistake with your cgi-bin url
make sure /usr/lib/cgi-bin/ is your cgi-bin contain xfile sharing scripts
or change it

Code:
   ScriptAlias /cgi-bin/ /var/www/cgi-bin/
   <Directory "/var/www/cgi-bin/">
      Options +ExecCGI Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
naga



Joined: 22 Dec 2008
Posts: 45

PostPosted: Jan 28, 2010 11:09 am    Post subject: Reply with quote

Also I think you need Allowoverride All
in order to get htaccess to work
Back to top
View user's profile Send private message
th3hotcake



Joined: 07 Apr 2009
Posts: 51

PostPosted: Jan 28, 2010 8:07 pm    Post subject: Reply with quote

Thanks sherayusuf3, that solved the problem.

One of my expert friends gave me that solution last night and it worked great!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group