ScriptAlias and virtual domain
Hi all,I have put a line in the httpd.conf file such as ScriptAlias /mycgi/
"/usr/local/mycgi/cgi-bin/"
However, this only work with the primary server's url not virtual domain.
works --> http://www.primaryserver.com/mycgi/script.pl
not work -->http://www.virtualdomain.com/mycgi/script.pl This will get 500 error saying premature end of script header.
According to Apache, virtualhost will inherit the configuration of primary server. Why it won't work with virtual domain?
Thanks for any clue.