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
fusion35 [ Do, 17 April 2008 07:34 ] [ ID #1944570 ]

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
fusion35 [ Do, 17 April 2008 07:52 ] [ ID #1944571 ]

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.
spam [ Fr, 18 April 2008 03:56 ] [ ID #1945283 ]

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?
phantom [ Fr, 18 April 2008 09:10 ] [ ID #1945284 ]
Webserver » alt.apache.configuration » adding .zul and zhtml extensions

Vorheriges Thema: child process exited with status 128 -- Restarting
Nächstes Thema: can htaccess read from files?