This is a discussion on adding .zul and zhtml extensions within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi : I have hosted my site with godaddy.com. My site is in java and my application requires .zhtml and ....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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" <fusion35@gmail.com> wrote in message
news:26808e59-970c-445d-9391-3d70c92760a5@m44g2000hsc.googlegroups.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. |
|
|||
|
"fusion35" <fusion35@gmail.com> wrote in message
news:26808e59-970c-445d-9391-3d70c92760a5@m44g2000hsc.googlegroups.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? |