• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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