|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Learn five alternative approaches for automating the delivery of Excel-based reports. Read all about it in the free whitepaper: “Automating Excel Reports: Five Approaches for Java Developers” Download Now!
|
|
#1
|
|||
|
|||
|
Hi,
I need to set my web server up to use WML files and in all the tutorials it says that I need to add these lines to the httpd.conf file... AddType text/vnd.wap.wml wml AddType image/vnd.wap.wbmp wbmp AddType text/vnd.wap.wmlscript wmls AddType application/vnd.wap.wmlc wmlc AddType application/vnd.wap.wmlscriptc wmlsc However, our ISP charges us £25 to reboot the server to make this work. I tried adding these lines to a .htaccess file in a dirctory so that we could deliver wml pages without having to reboot but my phone gives me the error message, 'service unavailable or bookmark may be wrong'. The bookmark is right and my server is working so i'm guessing you can't Add these types from the htaccess file. Am I right? Or do I need more lines? Thanks for your time Kerry |
|
#2
|
|||
|
|||
|
Start here -> http://httpd.apache.org/docs/mod/mod_mime.html#addtype
Syntax: AddType MIME-type extension [extension] ... Context: server config, virtual host, directory, .htaccess Override: FileInfo Status: Base Module: mod_mime httpd.conf needs the following or equivalent: <Directory "/path/to/your/docroot/or/above"> ... AllowOverride FileInfo # or AllowOverride All ... </Directory> If your server has this step taken care of, then the problem is on your end. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > htaccess and WML files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|