adding .zul and zhtml extensions
Hi :
I have hosted my site with godaddy.com. My site is in java and my
application requires .zhtml and .zul files. Unfortunately, these
extensions are not allowed (by the hosting company) and I have to add
them using .htaccess file. How can that be done?
regards
Devinder
Re: adding .zul and zhtml extensions
Hi :
I tried :
<Directory />
Allowoverride All AddType text/html .zhtml
</Directory>
The Server error log.
[Wed Apr 16 22:48:30 2008] [alert] [client 122.162.0.157] /var/chroot/
home/content/n/o/r/myservername/html/.htaccess: <Directory not allowed
here
Re: adding .zul and zhtml extensions
"fusion35" <fusion35 [at] gmail.com> wrote in message
news:26808e59-970c-445d-9391-3d70c92760a5 [at] m44g2000hsc.google groups.com...
> Hi :
>
> I tried :
>
> <Directory />
> Allowoverride All AddType text/html .zhtml
> </Directory>
>
>
> The Server error log.
> [Wed Apr 16 22:48:30 2008] [alert] [client 122.162.0.157] /var/chroot/
> home/content/n/o/r/myservername/html/.htaccess: <Directory not allowed
> here
Remove the directory statements.
Re: adding .zul and zhtml extensions
"fusion35" <fusion35 [at] gmail.com> wrote in message
news:26808e59-970c-445d-9391-3d70c92760a5 [at] m44g2000hsc.google groups.com...
> Hi :
>
> I tried :
>
> <Directory />
> Allowoverride All AddType text/html .zhtml
> </Directory>
>
>
> The Server error log.
> [Wed Apr 16 22:48:30 2008] [alert] [client 122.162.0.157] /var/chroot/
> home/content/n/o/r/myservername/html/.htaccess: <Directory not allowed
> here
As it says <directory> not allowed here, AllowOverride is not an htaccess
directive either.
Have you tried:
AddType text/html .zhtml
on its own?