bogu
12-07-2005, 06:29 AM
I tried google and everything I check from there is not working.
So I'll explain what I do and if someone know what do I do wrong:
- open httpd.conf and uncomment this line
LoadModule rewrite_module modules/mod_rewrite.so
#test-ing
I creat .htaccess in directory:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)/(.*)/$ /index.php?$1=$2
#Then the index.php file:
<?php
if (isset($_GET['page'])) {
echo $_GET['page'];
} else {
?>
<a href="page/working">Go</a>
<?php }?>
So I'll explain what I do and if someone know what do I do wrong:
- open httpd.conf and uncomment this line
LoadModule rewrite_module modules/mod_rewrite.so
#test-ing
I creat .htaccess in directory:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)/(.*)/$ /index.php?$1=$2
#Then the index.php file:
<?php
if (isset($_GET['page'])) {
echo $_GET['page'];
} else {
?>
<a href="page/working">Go</a>
<?php }?>