| View previous topic :: View next topic |
| Author |
Message |
th3hotcake
Joined: 07 Apr 2009 Posts: 51
|
Posted: Jan 28, 2010 12:57 am Post subject: /cgi-bin/ files return 404 Not Found |
|
|
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 |
|
 |
sherayusuf3
Joined: 18 Jan 2009 Posts: 88 Location: Jakarta Indonesia
|
Posted: Jan 28, 2010 2:25 am Post subject: Re: /cgi-bin/ files return 404 Not Found |
|
|
| 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 |
|
 |
naga
Joined: 22 Dec 2008 Posts: 45
|
Posted: Jan 28, 2010 11:09 am Post subject: |
|
|
Also I think you need Allowoverride All
in order to get htaccess to work |
|
| Back to top |
|
 |
th3hotcake
Joined: 07 Apr 2009 Posts: 51
|
Posted: Jan 28, 2010 8:07 pm Post subject: |
|
|
Thanks sherayusuf3, that solved the problem.
One of my expert friends gave me that solution last night and it worked great! |
|
| Back to top |
|
 |
|
|
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
|