Forum Moderators: phranque
my question: is it possible to make index.wml appear by default, when i enter url without explicitly putting down index.wml.
i tried to put "DirectoryIndex index.wml" in the .htaccess file in wap directory but with no success. i only get internal server error!
Thanks in advance!
Oooh! Cool question...
I'd suggest enabling directory listings, and then trying the DirectoryIndex index.wml again.
Also, make sure that the server has a definition for the MIME-type of wml files - Use AddType if not.
These are just general suggestions, but I'm intersested to know what you find out and what the solution is... I'd like to add a few phone-friendly pages myself, sometime soon.
Jim
the solution is to rename index.wml to index.html. this way the index page will show without any errors and without need for enabling directory listing!
@jdMorgan maybe you would like to test it for me? if you do, leave your mail so i can send you the link!
EDIT: does this board have private messaging? i can't seem to find it anywhere! if it does i can send you the link through a pm!
Stickymail link is at the top left of any WebmasterWorld page after your username, or alternately in the control panel (link also at the top left of any WebmasterWorld page).
I wonder why Apache doesn't handle the .wml extension... Not the last mystery I'll find, I'm sure.
Jim