What I want is for my suse 10 server to work like my last host. Basically you had a cgi-bin or you could name it whatever you liked, and you put a cgi file in it and it worked.
Everytime I put a cgi file in the /home/domain/cgi-bin directory, it never works, usually it says cant read or or I dont have permission to access it.
When a new virtual server is created there is NO cgi-bin directory in the /home/domain/public_html/ directory, I really think somethings screwy with this on suse 10.0.
Sounds like a SuExec problem. Check to be sure you ended up with a Virtualmin-provided Apache package:
rpm -q apache2
It should have “vm” in the release field of the package name. If not, something is wrong in the installation process that allowed your old SUSE-provided package to stick around. An update with yast might do the trick (not “yast online update” or “you”, which uses a completely different format of repository that seemingly has to be created by a SUSE system, just the yast package manager update process…I know it’s really confusing, and I’ve yet to figure out why SUSE has so many different an incompatible mechanisms for updates and package management).
There shouldn’t be a cgi-bin in public_html by default–it goes in the base domain directory. There are security implications to putting it into public_html.
That’s not to say there aren’t permission problems with the current configuration, but cgi-bin is in the right place for the way things should work in the default Virtualmin configuration.