Werlax wrote:

Alias /tmda /var/www/cgi-bin
AddHandler cgi-script .cgi
<Directory "/var/www/cgi-bin">
    Options +ExecCGI
    DirectoryIndex tmda.cgi
</Directory>

I'm no apache guru, but this looks okay, I think. Although maybe it would collide with another "Directory" directive for /var/www/cgi-bin?


Also, the theme isn't displaying correctly when I view my pending messages.
The images are showing up as broken links.  I have the cgi-bin and display
directories on the same level and specified "../display/" for the directive
in the configuration.  I'm not all that familiar with style sheets so I'm
not sure where to begin looking for this problem.

This definitely has to do with web server configuration.

If you have "../display/" in the config, here's what happens:

Your browser requests http://domain.com/cgi-bin/tmda.cgi
The webpage it gets refers to an image at "../display/themes/<etc>..."
(The actual HTML would be <img src="../display/themes/<etc>..." ... >)
Your browser requests the image from http://domain.com/display/themes/<etc>...


The same thing happens if you get your fancy script aliasing working:

Your browser requests http://domain.com/tmda/
The webpage it gets refers to an image at "../display/themes/<etc>..."
Your browser requests http://domain.com/display/themes/<etc>...

So, it is probably incorrect for the display directory to be at the same level as your cgi-bin directory. As I'm sure you can see by now, the display directory should be at the base level of your DocumentRoot, so it should probably me somewhere like /var/www/localhost/htdocs/display or /var/www/htdocs/display

--
Jim Ramsay
"Me fail English?  That's unpossible!"

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to