I have xampp lite 1.8.3
I would like to enable mod_rewrite and for a start in xampp/apache/conf /httpd.conf the line LoadModule rewrite_modules/mod_rewrite.so is uncommented already. Searching I found to uncomment and to and to have all AllowOverride All.
So in Server name localhost:80 and the following directory changed to All. The next directory <Directory "C:/xampp/htdocs"> it already has
Options Indexes FollowSymLinks Includes ExeCig
AllowOverride All and Require all granted. The next directory <Directory "C:/xampp/Cgi_bin"> All and Require granted.
When I load phpinfo() on the server it doesn't show in the loaded modules list, Mod_rewrite as loaded in that list.
With the apache documentation it says recomemded to put rewrite Rule etc in VirtualHost block and I'd like to do that, to get used to it etc.
In xampp/apache/conf/extra/httpd-vhost.conf it has examples for two sites using one host.
Searching I found using two blocks for such as www.example.com and www.example.org which is what is explained in the vhost file.
Also searching to set up vhost I found and assume for it to be so for one domane hostname.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot C:/xampp/htdocs
SeverName localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExeCig
AllowOverride All
Order allow deny
Allow from all
</Directory>
Then I assume
<IfModule mod_rewrite.c>
Rewrite Engine On
etc for the condition and rules
</IfModule>
Thanks for your advice and I hope I don't seem a dummy.
Could you tell me if I'm on the right path in setting it up and if the rewrite module is loaded. Does the file in xampp/apache/cof/original/httpd.conf have any bearing as it is the same as the other except #LoadModule rewrite_module Modules/mod_rewrite.so is commented as I have here.
Thanks for your time
BBone1