• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Problem with .htaccess and mod_rewrite

T

tkambler

Guest
I have the following .htaccess file in the root directory of one of my subdomains (/httpdocs):

Options +Indexes
RewriteEngine on
RewriteBase /
RewriteRule ^/logo /index.php?section=login

I am receiving the following error from Apache:

/httpdocs/.htaccess: Illegal option RewriteEngine

Can anyone shed some light on this?

Thanks!

Tim
 
Maybe, I've done a bit of this, but within the vhost.conf include on a domain.

Try

Options +Indexes
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^/logo /index.php?section=login
</IfModule>
 
Thanks for the reply...

I know how to do this within vhost.conf or any of the other main Apache config files. It's very important that I be able to control this from within .htaccess. I know it can be done.
 
Back
Top