HTACCESS MAKING PROBLEM

2 replies · opened Jun 16, 2016

MMikeJun 16, 2016

HELLO AGAIN

something makes a mistake in my htaccess file, when I upload it it make EVERYTHING bug, the whole website doesnt display, doesnt charge at ALL, do you see any problem in my file please ? Its kind of weird, thank you !!

MMikeJun 16, 2016

Options All -Indexes

ErrorDocument 401 /404.html
ErrorDocument 403 /404.html
ErrorDocument 404 /404.html

RewriteEngine on
RewriteBase /

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^onlinereq.html$ http://www.eden-boites.com/demande-en-ligne.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^onlinereq2.html$ http://www.eden-boites.com/demande-en-ligne2.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^contact2.html$ http://www.eden-boites.com/contact2.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^mentionslegales.html$ http://www.eden-boites.com/mentions-legales.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^products.html$ http://www.eden-boites.com/boites-de-vitesses.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^aboutus.html$ http://www.eden-boites.com/qui-sommes-nous.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^gammes.html$ http://www.eden-boites.com/gammes-boites-de-vitesses.html [QSA,L,R=301]

RewriteCond %{HTTP_HOST} ^www.eden-boites.com$
RewriteRule ^garanties.html$ http://www.eden-boites.com/garanties-boites-de-vitesses.html [QSA,L,R=301]

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?eden-boites.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?feeds2.feedburner.com/eden-boites.com [NC]RewriteRule .(jpg|jpeg|png|gif)$ – [NC,F,L]

#INTERDICTION PHP
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /wp-content/.$ [NC]
RewriteCond %{REQUEST_FILENAME} !^.+flexible-upload-wp25js.php$
RewriteCond %{REQUEST_FILENAME} ^.+.(php|html|htm|txt)$
RewriteRule .
- [F,NS,L]

#INTERDICTION CONFIG
<FilesMatch "^.(error_log|wp-config.php|php.ini|.[hH][tT][aApP].)$">
Order deny,allow
Deny from all
</FilesMatch>

<Files ~ “^.*.([Hh][Tt][Aa])”>
order allow,deny
deny from all
satisfy all
</Files>

SSemicolon WebSTAFFJun 17, 2016

Hello,

We Really Apologize but we cannot make conclusive suggestion on these as we are not HTACCESS Experts. You will need to contact your Web Hosting Provider and ask them to check the Error Logs to spot the exact issue with this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard