Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Kun je eens relevante delen van je httpd.conf posten zodat we je probleem beter kunnen inschatten?
---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate
Helaas kan dit blijkbaar dus niet via mod_vhost_alias..The other thing to `fake' is the document root (configured with DocumentRoot and available to CGIs via the DOCUMENT_ROOT environment variable). In a normal configuration this setting is used by the core module when mapping URIs to filenames, but when the server is configured to do dynamic virtual hosting that job is taken over by another module (either mod_vhost_alias or mod_rewrite) which has a different way of doing the mapping. Neither of these modules is responsible for setting the DOCUMENT_ROOT environment variable so if any CGIs or SSI documents make use of it they will get a misleading value.
dus dat wil zeggen dat ik dus met vhost containers in mijn httpd moet werken. dat is voor mij nu nog geen groot probleem omdat ik maar een paar sites host maar ik vraag me toch af hoe grote hosters zoiets dan oplossen
want mod_vhost_alias is echt gemakkelijk.
dit doe ik dus met vhost containers:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@mijndomein.com
DocumentRoot "/htdocs/mijndomein"
ServerName www.mijndomein.com
</VirtualHost>
etc etc
en dit met mod_vhost_alias:
VirtualDocumentRoot "D:/webserver/Apache Group/Apache2/htdocs/%0"
dit doe ik dus met vhost containers:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@mijndomein.com
DocumentRoot "/htdocs/mijndomein"
ServerName www.mijndomein.com
</VirtualHost>
etc etc
en dit met mod_vhost_alias:
VirtualDocumentRoot "D:/webserver/Apache Group/Apache2/htdocs/%0"
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition