NameSilo

Internal Server Error from .htaccess

Spaceship Spaceship
Watch

bart777

Established Member
Impact
0
heyy guys Im trying to block a few country's so I found this site to block countrys so it generates a list of ips to block so I uploaded the txt file to my server and renamed it .htaccess I also upload a black .htaccess file and I still get the error, im also useing a mac computer so maybe the txt file is not correct? and this is the error I got...
any help would be great guys, i have been trying to work this out for 3 days now and im a bit of a noob.

I also did contact my host and this is the error report I got from him




..........................................................................................................................
Bart,

I am getting the following error from the Apache error log when I enabled the .htaccess file for the domain 'msproxy.net'.

=========
[Mon Oct 25 23:14:39 2010] [alert] [client 122.167.249.34] /home/faceboo3/public_html/mysite1.net/.htaccess: Invalid command '0deny', perhaps misspelled or defined by a module not included in the server configuration
=========

From the above error message, it is clear that there is a syntax error in the .htaccess file. Can you please double check whether you have added all the IP address properly in .htaccess file. Please check and let us know.
.........................................................................................................................






internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
[email protected]1 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.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
=========
[Mon Oct 25 23:14:39 2010] [alert] [client 122.167.249.34] /home/faceboo3/public_html/mysite1.net/.htaccess: Invalid command '0deny', perhaps misspelled or defined by a module not included in the server configuration
=========

open the file, search for "0deny" and fix your typo.
 
0
•••
I ended up fixing it by uploading the htacces.txt then going to file manager and copy and past the code over the code that is already there, then I went to my ftp client and renamed the file to .htacces.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back