New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Tried that and denied my IP but can still access the site.
Are you looking to deny all and just allow from certain IP's?
didn't read carefully - removed
What version of Apache are you using?
chmod htaccess file to 777
if it works then allow chmod again as per actual requirements
Apache version is 2.2.27 I want to deny all and allow from my IP only. chmod 777 did not work thanks
That should work
Still not working, I'm using cloudflare for my DNS maybe that's causing the issue
Have you enabled cloudflare? If you have, try disabling it
I have disabled and still no joy. Never had this issue before very strange
Could you show me the apache access and error log? (they're located at /var/log/apache)
If I change to this
it works fine, just will not allow from my IP
No apache in /var/log/apache
running centos with cPanel
Really weird... Take a look here then if you're running cPanel: /usr/local/cpanel/logs/
Apache logs should be there
Thats not what your original configuration seems to say.
found it at /usr/local/apach/logs this is the last few lines
Could you give me the logs when you use the following in the .htaccess file?
Seems to be working now. I removed the domain from cloudflare and updated dns with domain provider so must be an issue with cloudflare
I can confirm this is a cloudflare issue. Tried with another domain and had to pause cloudflare first then re-enable
I told you to disable cloudflare -_-
If you use Cloudflare it naturally wont work as your IP will never show up at the server.
Thanks for all the help
Did you have mod_cloudflare installed to restore visitor IP? That's the only reason I can think of as to why you have an issue with us on (our IPs will show without mod_cloudflare).