Status
Not open for further replies.

DavidMcCl

Registered
Joined
Oct 17, 2016
Messages
38
Reaction score
2
Points
8
Age
35
i need help im getting a 403 Error when i have my site uploaded heres the Htaccess
Code:
Options -Indexes
#Force non-www:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} =www.moddinginc.com
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301]
 
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://moddinginc.com$1 [R=301,L]
 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
BrowserMatchNoCase "IPhone" bots
BrowserMatchNoCase "Chrome" bots
BrowserMatchNoCase "IPad" bots
BrowserMatchNoCase "Safari" bots
RewriteEngine on
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:pROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
RewriteRule ^(.*)$ – [F]
 
 
 
Order Deny,Allow
Allow from ALL
Allow from env=bots
 
Options -Indexes

ive uploaded a copy of the orginal
 

Attachments

1. Are you on Shared or VPS/Dedicated server?

2. Are you on Apache 2.2 or 2.4?

3. What is your host?

4. Are you using CloudFlare?
 
Status
Not open for further replies.
730Threads
2,282Messages
62,891Members
ngyttLatest member
Back