Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Can't get this to work with Apache2 |
|
Author |
|
Benedek
Joined: 17 Dec 2006 Posts: 1 Location: Kazakhstan
|
Posted: Sun 17 Dec '06 11:05 Post subject: Can't get this to work with Apache2 |
|
|
Before I used Apache1 and the following code, that I've put into htaccess worked normally. Now I have installed Apache2 with all possible modules and extensions (they all come with MAMP for Mac) and code is not working.
Code: | Action throw index.php
<FilesMatch "^([^.]+)$">
ForceType throw
</FilesMatch>
<FilesMatch index.php>
ForceType application/x-httpd-php
</FilesMatch>
<FilesMatch "(.?).lang">
ForceType application/x-httpd-php
</FilesMatch>
|
Code should redirect all requests to index script.
I would appreciate any help. Thank you. |
|
Back to top |
|
|
|
|
|
|