Htaccess And Wamp


Subject: Htaccess And Wamp
Hi

Just thought I would share this piece of info... as everyone knows htaccess file does not work on your local server on your machine... basically this is due to the rewrite rule causing an error...

If you are using wamp and I am sure this applies to all other local server programs....

open up your apache modules from you control panel... in wamp it is left click find apache modules in the list and then look for rewrite_module... click on it the server will reset and then enable itself...

now add your htaccess file and your good to go....

I would advise not to enable rewrite in ICY (as I have not tested this) but for testing code in the htaccess file should be no problem...

:mrgreen: :mrgreen:

Subject: Re: Htaccess And Wamp
My understanding is that I can use either a php.ini or a .htpaccess file to enable php in a html webpage. Is there an advantage to using either. Is there anything special that I should put in the file. I am new to this. Your post helped me out with setting it up in wamp. Thanks!

Subject: Re: Htaccess And Wamp
As far as I know PHP should be enabled by default... you just should embed PHP code between PHP tags:

Code: [Download] [Hide] [Select]
<?php echo('Hello World!'); ?>


On my PC I use XAMPP instead of WAMP, I never had issues so far in using also rewrite or other special features.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0684s (PHP: 24% SQL: 76%)
SQL queries: 10 - Debug Off - GZIP Enabled