[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] WAP / Archive Searching [was Anybody experienced problems with All Security 3.0.1-6682?]



Mark,

To add WAP mime types to a RaQ:

Edit the srm.conf file (usually in /etc/httpd/conf)
Locate the AddType section, and add the following section to the file:

# MIME Types for WAP
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
Save the file and restart the Apache HTTPd.

/etc/rc.d/init.d/httpd.init stop
/etc/rc.d/init.d/httpd.init start

Although on the RaQ2 I find that you need to omit the ".init" and so:

/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start

If you do not have control over your Apache server, for instance if you
are with an ISP, it is also possible to add a file called .htaccess to
each directory where you have placed WML files. When the server reads
files from this directory, it will serve them according to the rules in
the .htaccess file.

A typical .htaccess file will look something like this:

DirectoryIndex  index.wml
addtype text/vnd.wap.wml wml
addtype application/vnd.wap.wmlc wmlc
addtype text/vnd.wap.wmlscript wmls
addtype application/vnd.wap.wmlscriptc wmlsc
addtype image/vnd.wap.wbmp wbmp

Note the first line which tells the server that the index file for this
directory is called index.wml. Also note that the server must be
configured to read these files. In some cases the server is configured
to ignore these files for security reasons. Check with your ISP.

Regards,

Trevor Munday
DestiNet Limited
E-Mail: tmunday@xxxxxxxxxxxxxx



----- Original Message -----
From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, August 25, 2000 3:54 PM
Subject: Re: [cobalt-users] WAP / Archive Searching [was Anybody experienced
problems with All Security 3.0.1-6682?]


> Mark Baker - Cobalt Lists <cobalt@xxxxxxxxxxxxxxxxxx> wrote:
> > Me to! Works fine, Jeff maybe you can help me with my post yesterday
about
> > WAP and subdomains? Really desperate now!
>
> Mark, have you tried searching the archives?  I believe you just need to
add the
> proper mime types to srm.conf.  I bet an archive search on "wap" takes you
> straight to the previous posts on this topic.  And if you've done that it
would
> be helpful if you post what you've tried that hasn't worked.
>
> And as a reminder to everyone, Jeff Lovell and all of the other Cobalt
employees
> who are kind enough to occasionally pop in do so on their own time and are
not
> payed by Cobalt to do so.  Let's not bother them with questions that are
> answered in the archives.
>
> --
> Steven Werby {steven-lists@xxxxxxxxxxxx}
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>