Hello all. I have a problem. I have subdomain and want to include some SSI in the webpages, but it doesn't seem to work
I have this: subdomain.domain.com that is actually stored in domain.com/subdomain/ If I try to run a SSI from an HTML file calling a script from the cgi-bin, say subdomain.domain.com/index.shtml I get an error message, saying something like: 'Can't locate file path-to/domain.com/subdomain/cgi-bin/script.pl' I have tried both ways: <!--#include virtual="/cgi-bin/script.pl"--> <!--#exec cgi="/cgi-bin/script.pl"--> and haven't worked. I'm using '/' before cgi-bin to send the command to the root, but still get the same message So, I decided to create a cgi-bin directory in 'domain.com/subdomain/' and uploaded the script there. Now. If I run the script as www.domain.com/subdomain/cgi-bin/script.pl Everything runs fine But if I run it as subdomain.domain.com/cgi-bin/script.pl It doesn't work and sends a Permission denied message This way I can run domain.com/subdomain/index.shtml and get the correct answer. But I can't run subdomain.domain.com/index.shtml Which is bad because my reason to have the subdomain is to get people there instead of going through www.domain.com. The only way I have found to make subdomain.domain.com/index.shtml to work is to have a copy of script.pl in both directories: domain.com/cgi-bin domain.com/subdomain/cgi-bin wich seems absurd to me. Specially if this script is supposed to wite to a file in the same directory. How can I make a SSI call work from a subdomain??? Am I missing something??? Can you help me??? Any comment will be appreciated. -rm- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]