• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

.wml files / .htaccess

R

RootChaos

Guest
Hi Guys

I've been reading some posts on getting .htaccess files working as well as getting .wml files working.

As far as I can see, I have AllowOverride All set on the directory /home/httpd/vhosts in the config file /etc/httpd/conf/httpd.include

<Directory "/home/httpd/vhosts">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
php_admin_flag engine off
</Directory>


Which means that .htaccess should be working in any virtual host directory and sub-directories.

I also have a .htaccess file with the following :-

# Enable WML (Wireless Markup Language)
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
DirectoryIndex index.wml


Which should allow index.wml to be the default index file and also enable WAP content.

I don't think this config is working as I cannot browse to the index.wml file. It finds the file, but then prompts to save the file in stead of opening the file in the browser.


Can anyone suggest some steps where I'm going wrong ?


Thanx

RC
 
Hi...

I did not have index.wml in DirectoryIndex on httpd.conf - Added it just now but still no working result. Still wants to save the file...


RC
 
Back
Top