PDA

View Full Version : .htaccess acting crazy


iogames
24 Jul 2008, 01:05
It's been a year since I've been operating my server and never touched the public_html's .htaccess, suddenly if I don't rename it to something else, would stop me from using vBulletin, or anything...

Didn't change anything that I remember...

SEOvB
24 Jul 2008, 02:40
not unless you have something that relys on settings in .htaccess such as redirects or to over write standard php settings.

iogames
24 Jul 2008, 06:04
1. Rename the .htaccess
2. Server created another empty .htaccess
3. Now the new one block the access again

???

Marco van Herwaarden
24 Jul 2008, 07:09
Hardly enough information to troubleshoot this.

iogames
24 Jul 2008, 15:17
My .htaccess

# Use PHP5CGI as default
AddHandler fcgid-script .php

# Use PHP5CGI as default
#AddHandler fcgid-script .php
#FCGIWrapper /usr/local/cpanel/cgi-sys/fcgiwrapper .php
#AddHandler php-fastcgi .php
# File modified on Fri Sep 14 18:06:13 2007 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_flag register_globals on
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://www.iogames.com/chat/member.php?username=$1 [R]
<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 74.220.195.115
deny from 74.220.


and the error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@chat.iogames.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at chat.iogames.com Port 80



Although I remove the 2 last lines that were denying access from the same server, all the .htaccess on my server got this 2 lines... mmmh

snakes1100
24 Jul 2008, 15:55
You need to check the apache logs and find out if there is anything in the apache error_log or the domains log in the domlogs dir.

Is this actuall on two lines in the file?

RewriteRule ^(.*)$ http://www.iogames.com/chat/member.php?username=$1 [R]
username=$1 [R]

or is that just vb breaking the line in the code window?