htaccess filematch sethandler?
Posted by: chriso (---.cable.ubr07.dals.blueyonder.co.uk)
Date: April 08, 2007 11:38AM

I have this in my htaccess file which works online

<FilesMatch "calendar|projects">
SetHandler php-script
</FilesMatch>

So anything like myurl.com/projects/ will look for projects.php file, although the php file doesn't have a .php extension.

So this works online, but not offline running WAMP5. I have the rewrite_module turned on in apache. Am I missing something?

Any ideas?

Thanks



Post Edited (04-08-07 11:52)

Options: ReplyQuote
Re: htaccess filematch sethandler?
Posted by: CyberSpatium (71.237.217.---)
Date: April 08, 2007 11:17PM

seems like you did not copy your whole .htaccess file since the htaccess file you posted above does not have any mod_rewrite in it. also make sure you restart apache after editing the httpd.conf file for the new settings to take effect.


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
clarifyloans.com

Options: ReplyQuote
Re: htaccess filematch sethandler?
Posted by: chriso (---.cable.ubr07.dals.blueyonder.co.uk)
Date: April 15, 2007 08:46PM


Ok, please ignore my modrewrite comment.

How do I get FilesMatch and SetHandler working with the default install of WAMP5.

Thanks!

Options: ReplyQuote
Re: htaccess filematch sethandler?
Posted by: CyberSpatium (71.237.217.---)
Date: April 15, 2007 11:34PM

you dont have to do anything to use filesmatch or sethandler, as they are a part of the apache core. you just need to use them in your manual.

you should post this question in the support area for whatever script you are trying to install


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com


Like my free support? Help support me by making a donation today!

Options: ReplyQuote


Sorry, only registered users may post in this forum.