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