Paratus Posted January 12, 2008 Share Posted January 12, 2008 I'm not sure if this is possible or not. I'd like to set my httpd.conf up with an alias that refers to a dynamic folder based on a subdomain. For example, if they access the site through "blah.domain.com/files" I'd like the alias to direct to "/some/dir/blah/files". It'd need to support any subdomain used. Link to comment https://forums.phpfreaks.com/topic/85648-using-variables-in-httpdconf/ Share on other sites More sharing options...
madmax Posted January 12, 2008 Share Posted January 12, 2008 Check out Mass Virtual Hosting http://httpd.apache.org/docs/2.0/vhosts/mass.html and http://httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html (esp the examples section) Should make a good starting point for thinking about your site design Link to comment https://forums.phpfreaks.com/topic/85648-using-variables-in-httpdconf/#findComment-437296 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.