Status
Not open for further replies.

DavidMcCl

Registered
Joined
7 year 6 month 7 day
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

  • htaccessorig.rar
    494 bytes · Views: 25

AnimeHaxor

Retro-NulledTeam
Registered
Joined
8 year 5 month 2 day
Messages
6,522
Reaction score
40,575
Points
113
Site Script
XenForo
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.