• 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.

big problem with multiviews

V

viktorf

Guest
I'm desperate... Multiviews wont work on my Linux server with Plesk (works fine on a non-Plesk machine).

I want to use Multiviews to make the URL more user and search-engine-friendly (ie not .../page.php?id=1&cat=2 but .../page/title/2).

The machine runs multiple virtual hosts, im trying to set on of them to use Multiviews.

I have tried the following:
add the following line to the proper vhost.conf:

<Directory /home/httpd/vhosts/<domainname>/httpdocs>
AllowOverride All
</Directory>

in the directory where i want the Multiviews to work, i created a .htaccess with the following:

Options MultiViews

I have also tried
Options +MultiViews
and
Options Indexes FollowSymLinks MultiViews All

The .htaccess als consist of the following directives (in order to parse specific files)

<files page>
ForceType application/x-httpd-php
</files>

The files directive works fine, but it wont use Multiviews... This setup works fine on a server without Plesk. I've used exactly the same method, except for the fact that i put these settings directly in the httpd.conf.

Does anyone have a clue... i've been trying all day now...
 
Add the particular options to the vhost.conf file and make sure that it's included in the domain httpd.include. You can regenerate the file files with:

/usr/local/psa/admin/bin/websrvmng -u --vhost-name=domainname

The .htaccess include files may not work, depending on your server configuration.
 
Thanks, but that I have allready done.. the vhost.conf is working fine.

I'm happy to say that I have found the solution:

Apparently the Apache setup defaults to: "AcceptPathInfo Off"...
(Strange though... I can't find a setting in any .conf, probably its some sort of compiling option???).

Adding AcceptPathinfo On to vhost.conf solves it. (Too bad it took me a day and a night :eek: .
 
AcceptPathinfo syntax how?

I still can't get apache to recognize AcceptPathinfo On
I tried adding it to vhost.conf both inside the <Directory>
....
</Directory>
and outside it.
and applying websrvmng and apache restart
no help.

I tried putting AcceptPathinfo in .htaccess no help.

How exactly did you enter AcceptPathinfo in vhsot.conf to get it working?
 
Back
Top