Share » Forums » Developer » How to test custom scripts?

How to test custom scripts?

How to test custom scripts?

Monday 04 December 2006 12:42:43 pm - 2 replies

Author Message

Claudia Kosny

Tuesday 05 December 2006 10:32:29 am

Hi Sinisa

not sure about the virtual host settings but it should be similar to htaccess where you have to make the following changes:
Allow access to the folders with the scripts:

<FilesMatch "foldername/\.php">
order allow,deny
allow from all
</FilesMatch>

directly after the <FilesMatch "."> block.

Then also add a rewrite rule that tells apache not to rewrite the script urls directly under the RewriteEngine On directive:

RewriteRule foldername/\.php - [L]

Depending on your exact setup you most likely will need to change the match condition and the rewrite rule, but this is easy to find out.

That should be it.

Claudia

Siniša Šehović

Wednesday 06 December 2006 2:31:44 am

Hi Claudia,

"Depending on your exact setup you most likely will need to change the match condition and the rewrite rule, but this is easy to find out."

How can I find out?

RewriteRule is not working for me!?

Best regards,
Sinisa

---
If at first you don't succeed, look in the trash for the instructions.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu