Im installing a script on a cpanel, but it needs me to activate mod_rewrite, how can I activate it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @Samasoul,
As far as I know, mod_Rewrite is installed as an Apache module by default.
httpd -M|grep rewrite
rewrite_module (shared)
If you let me know the script you are trying to install I might be able to further assist you.
Regards, KFSys
Hello, @Samasoul
Mod_Rewrite is compiled with Apache by default on cPanel. However, you can still double-check this with the command KFSyS provided already:
- httpd -M | grep rewrite
You can enable it for an account through the .htaccess file with:
- RewriteEngine On
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.