logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Can't get this to work with Apache2
Author
Benedek



Joined: 17 Dec 2006
Posts: 1
Location: Kazakhstan

PostPosted: Sun 17 Dec '06 11:05    Post subject: Can't get this to work with Apache2 Reply with quote

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


Reply to topic   Topic: Can't get this to work with Apache2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache