Hi allen,
Ik krijg een 400 Bad Request error als ik een subdomein op localhost aanroep.
- In de hosts file van m'n besturingssysteem heb ik sub.localhost toegewezen aan 127.0.0.1.
- In het configuratiebestand van Apache (httpd.conf) heb ik het volgende staan
<Directory "/web/sub">
AllowOverride All
ErrorDocument 404 "http.conf foutmelding voor directory /sub/"
</Directory>
- In het mapje 'sub' heb ik een .htaccess-bestand staan:
ErrorDocument 404 ".htaccess foutmelding voor directory /sub/"
en nog wat RewriteRules. Als ik naar http://sub.localhost ga, krijg ik een 400 Bad Request.
Heeft iemand een idee hoe dat komt?
2.539 views