• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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