Home English Mozilla  Saturday, May 4 07:14:06 
Wcal
Print

 Home

 Screenshots
 Demo
 Downloads

 News RSS 2.0
FAQ
 Mail archive
 Documentation
 Roadmap

 P*Wcal
 CWcal
 DWcal
 Themes
 Internationalization

 Maintainer
 Contributors
 Web repositories
 CVS

 NeoSystem
 MyNews

   Troubleshooting

Question When I try to access Wcal with my browser, I get strange characters: ELF §£°¤...
 
Answer A common problem of Wcal is when you forgot to modify the Apache configuration file to allow CGI script execution. index.cgi in the wcal directory is a binary and must be executed by Apache. If the Apache configuration file is not good, index.cgi will not be executed. So you see the content of the binary when you try to access to wcal with your browser, that is a list of strange characters beginning with "...ELF...."

To check if the Apache configuration file is good, try to see if you have configured wcal directory to use CGI scripts (.cgi files). You must have some lines such as:

<Directory /home/httpd/html/wcal>
  AddHandler cgi-script .cgi
  DirectoryIndex index.cgi
  Options +ExecCGI
</Directory>
You can test your Apache configuration by writing a simple cgi script such as:
#!/bin/sh
echo "Content-type: text/html"
echo ""
echo "<title>test</title>"
echo "<h1>Hello world!</h1>"
You put this file in the wcal directory as test.cgi. You change the permission of the file to allow Apache to execute it:
chmod 755 test.cgi
An then you try to access to this script from your browser (http://localhost/wcal/test.cgi). If you see:

Hello world !

your configuration is good. If you see:
#!/bin/sh
echo "Content-type: text/html"
echo ""
echo "<title>test</title>"
echo "<h1>Hello world!</h1>"
Your configuration is wrong.
 


© 2004 Joël Savignon