Portal Home > Knowledgebase > Apache and PHP > How to use Apache mod_rewrite


How to use Apache mod_rewrite




QHoster.com has installed Apache mod_rewrite on all web hosting servers.
To enable mod_rewrite, it is necessary to add the following in the beginning of the .htaccess file:

RewriteEngine On

After that add the rules for rewriting of links.
More information about mod_rewrite can be found at:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
What is the path to Perl (Views: 3932)
PHP version (Views: 6932)
Where to put CGI files (Views: 4576)

* Minimum sign up periods for cPanel Web Hosting plans: Mini - 3mo., Pro - 1mo., Biz - 1mo., cPanel Reseller Hosting, Linux VPS, Windows VPS, Managed cPanel VPS and Dedicated Servers - 1mo. secret link
Accepted payments: Credit/Debit Card, Paypal, Payza, Skrill, WebMoney, CashU, Ukash, paysafecard, Bitcoin, Perfect Money, SolidTrust Pay, OKPay, EgoPay, Western Union/MG, Wire Transfer and more.