Boxbilling HTaccess

Gestart doorJesper5 reacties59 weergaven

6 berichten · pagina 1 van 1

Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik heb sinds kort boxbilling en ik heb een taalpakket gedownload,
maar als ik die taalpakket installeer dan zegt hij:
De webpagina kan niet worden weergegeven.

dit is de htaccess

RewriteBase /
# Read documentation http://www.boxbilling.com/docs/ for more information
# Rename this file to .htaccess in order to work
# If you are receiving "Internal Server Error" message - make sure mod_rewrite is enabled in apache

Options -Indexes
Options +FollowSymLinks

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts`
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

### re-direct to www
#RewriteCond %{HTTP_HOST} ^yourdomain.com
#RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]

# If you are receiving "Internal Server Error" message
# Tune path if installing into subfolder, ie "RewriteBase /boxbilling/"
# RewriteBase /

# This line is for Windows Environment when API is giving authorization error
RewriteRule .? - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

<FilesMatch ".(htaccess|htpasswd|ini|log|sh|inc|bak|phtml|sql)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

<IfModule mod_headers.c>
    # MONTH
    <FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf)$">
       Header set Cache-Control "max-age=2592000"
    </FilesMatch>

    # WEEK
    <FilesMatch ".(js|css|pdf|txt)$">
       Header set Cache-Control "max-age=604800"
    </FilesMatch>

    # DAY
    <FilesMatch ".(html|htm)$">
       Header set Cache-Control "max-age=43200"
    </FilesMatch>
</IfModule>


jespar
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Heb je in regel 29 en 30 je domeinnaam wel veranderd?
0
Berichten
9.454
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wow, jij bent onze held xd
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Anton, wat moet ik zonder jou.

Slotje
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als je moeite had gedaan om even snel door te lezen, had je zo gevonden emo
Jordyz schreef:
Wow, jij bent onze held xd
Weet ik toch pompom
Jespar schreef:
Anton, wat moet ik zonder jou.

Slotje
Wachten tot iemand anders reageert? clown
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
Slotje op verzoek van de TS.
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren