Jump to content

How to use it?


Sami
 Share

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...

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>

Edited by Sami
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...