Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

How can I test if mod_rewrite works?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 from the Federated States of Micronesia: +49 30 32 70 18 92, Fax (in Germany) +49 30 32 70 18 91

service@bitpalast.net 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

You have doubts that the Apache mod_rewrite module is turned on and can be used in your .htaccess file. A software will show you that mod_rewrite is missing.

 

Solution

1. Create a .txt mod_rewrite.txt file in the document root folder of your website with this content:

mod_rewrite is activated.

2. If an .htaccess file already exists in the root folder, rename the file so that it will not be inadvertently changed by the test in the following step.

3. Create an .htaccess file in the document root of your website with this content:

RewriteEngine On
RewriteRule ^.*$ mod_rewrite.txt

4. Open your website with a browser. If mod_rewrite is enabled – which is the default in all webspace accounts – you'll see this output:

mod_rewrite is activated.

5. Delete your .htaccess file and rename the backup you made in step (2.) back to .htaccess.

 

Overview of frequently asked questions 

 

 

 


 

  from the Federated States of Micronesia: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap