• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How to enable mod_rewrite on Plesk 10 for Linux

jrfalces

New Pleskian
Hi all,

I'm trying to enable mod_rewrite on my Plesk 10 for Linux. I'm doing this:

- I've created a new vhost.conf file on /var/www/vhosts/mpi.com.es/conf with this content:

<Directory "/var/www/vhosts/mpi.com.es/httpdocs/beta">
Options +ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

- I've placed a new .htaccess on mpi.com.es/beta with this content:

Options +FollowSymLinks
Options +Indexes
RewriteEngine On

Rewriterule ^(.*)/(.*)/(.*)/(.*)/$ index.php?contenido=$2&menu_id=$3&menu_parent=$4

But it doesn't works, I get a 404 error.

Any ideas? Thanks!
 
Back
Top