Toon posts:

.htaccess

Pagina: 1
Acties:
  • 19 views sinds 30-01-2008

Verwijderd

Topicstarter
DirectoryIndex index.php index.cgi index.pl index.shtml index.html

<Limit GET PUT POST>
order allow,deny
allow from all
</Limit>

# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module|exe)$">
deny from all
</FilesMatch>

#Disable .htaccess viewing from browser
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>

<Files ~ "\config.php$">
deny from all
</Files>

# change to yoursite.com
ErrorDocument 404 http://www.mysan.de/index.html

RewriteEngine On

RewriteRule ^index.html index.php

RewriteRule ^gate.* modules.php

#Articles
RewriteRule ^article([1-9][0-9]*).* gate.html?name=News&file=article&sid=$1


#FAQ
RewriteRule ^faq.html gate.html?name=FAQ&file=index
RewriteRule ^faq-([a-zA-Z0-9+]*)-([0-9]*)-([a-zA-Z0-9+]*) gate.html?name=FAQ&myfaq=$1&id_cat=$2&categories=$3

kan iemand mij vertellen wat het precies doet ?

  • Maasluip
  • Registratie: April 2002
  • Laatst online: 15:23

Maasluip

Kabbelend watertje

Dit is op vele websites over htaccess (o.a. de docs die bij Apache zitten) te vinden. Ik kan uit mijn hoofd wel wat gaan blaten maar dan ben ik vast incompleet en verziek ik een mooi opzoek topic O-)

Signatures zijn voor boomers.


  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Wat wat precies doet? Ben je al begonnen bij de apache handleiding? Daar kun je alle termen gewoon opzoeken :)

Apache manual

[ Voor 20% gewijzigd door Spider.007 op 05-11-2004 11:07 ]

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


  • .oisyn
  • Registratie: September 2000
  • Laatst online: 00:13

.oisyn

Moderator Devschuur®

Demotivational Speaker

P&W FAQ - de "quickstart"

Verder horen .htaccess vragen niet thuis in Programming & Webscripting maar in Software Algemeen

Give a man a game and he'll have fun for a day. Teach a man to make games and he'll never have fun again.


Dit topic is gesloten.