Jump to content

How to use it?


Sami

Recommended Posts

P.S. the operation of Apache modules such as mod_rewrite have no connection to the server-side language you happen to be using.

Link to comment
Share on other sites

  • 2 weeks later...

Okay. Where can I learn about it?And could you give me an example?(let's say I want example.com/user/exampleuser to be same as example.com/user.php?name=exampleuser. How can I do that?)

Link to comment
Share on other sites

Didn't seem to work:http://ripper.dontexist.com/test/page/softwareIn /test/.htaccess:

RewriteBase /var/www/test/RewriteEngine onRewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [L]

In /test/index.php:

<html>   <head>	  <title>Second mod_rewrite example</title>   </head>   <body>	  <p>		 The requested page was:		 <?php echo $_GET['page']; ?>	  </p>   </body></html>

Link to comment
Share on other sites

  • 2 weeks later...

Yes, but the FTP server is working pretty slow...it's disconnecting me before I've even listed the files!And about my own server:It doesn't seem to support mod-rewrite, maybe because of it's default settings, but where are the settings where I can turn it on?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...