|
Originally Posted by transcout
|
Can you post exactly what you did to get apache to work?
I've tried everything, and I keep getting this same error!
|
If I knew exactly what I did I'd tell you. However, from my limited
knowledge it sounds like it could be one of a few things. This is
what I did when setting up the httpd.conf file
1. First specify your server name. Call it anything but make sure
if you call it anything apart from 127.0.0.1 that your PDA is actually
called that too (Settings->About->Device-ID)
2. You need to tell Apache where to find the document root (a directory
for your html) where it will look for index.html. You don't need to put a
'/' at the end of the directory but make sure the whole expression is
in quotes if it has spaces in it i.e "/Storage Card/web_pages"
3. There seems to be another section refering to the document root which
defines the directory and sets permissions. Again, make sure its in
quotes and you don't need a '/' at the end.
4. Make sure you have a /log directory under the main Apache directory.
It wants to put logs there, which are useful when it doesn't work.
5. Make sure you have an index.html for it to serve in the right place.
You can change this to any name you want in the setup file.
I have managed to get it to run some cgi scripts which is another part of
the setup. Perhaps get it serving static pages first and then move
on from there.
If you have done all that and it still doesn't work then its web surfing
on Apache for you. Try looking at the logs, they may be helpful.
Do you know how to get the DBI module installed into perl?
Jason