Forum Moderators: phranque
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/apachefriends/xampp/htdocs"
ServerName localhost
<Directory "C:/apachefriends/xampp/htdocs">
Options Indexes FollowSymLinks Includes
AllowOverride All
</Directory>
</VirtualHost>
-----------------------------------------------
my .htaccess contains this:
RewriteEngine on
RewriteRule ^(.*)\.html $1\.php
-----------------------------------------------
I've placed an index.php file in the htdocs folder
<?php
//session_start();
echo 'echo something plz';
?>
So when I call [localhost...] or [localhost...] it works great, but when I uncomment session_start() and call again [localhost...] the browser enters in a timeout phase. To make the apache server work again I have to restart the server.
I've search google and this forum too and nothing showed up.
So the problem appears only when I enter session_start(). I think virtualhost is not set properly, cause I've changed the rules in the .htaccess file and nothing changes.
Please help.
thanx in advance.