Are you aliasing developer.mysite. Com to mysite. Com or does it have it's own public_html (or httpdocs; whatever the webroot is...) folder?
I think the easiest solution would be to point developer.mysite. Com to mysite. Com on the server so that they share the same public_html folder Your main website's front controller would be something like main.
Php The developer subdomain would have its front controller developer. Php index. Php would look at $_SERVER'SERVER_NAME' to determine and include the appropriate front controller Disclaimer: I'm not familiar with how symfony operates.
I'm assuming it has a front controller like a bazillion other frameworks do.
Are you aliasing developer.mysite. Com to mysite. Com or does it have it's own public_html (or httpdocs; whatever the webroot is...) folder?
I think the easiest solution would be to point developer.mysite. Com to mysite. Com on the server so that they share the same public_html folder.
Your main website's front controller would be something like main.php. The developer subdomain would have its front controller, developer.php. Index.
Php would look at $_SERVER'SERVER_NAME' to determine and include the appropriate front controller. Disclaimer: I'm not familiar with how symfony operates. I'm assuming it has a front controller like a bazillion other frameworks do.
Simshaun, developer.mysite. Com is an alias for mysite.com. I'd like to know how to change the url via htaccess.
– daSn0wie Jul 18 at 19:53 So you have a VirtualHost set up for developer.mysite. Com, e.g. And the DocumentRoot in it points to the main webroot, e.g. DocumentRoot /home/mysite/public_html? – simshaun Jul 18 at 20:05 it's setup as a ServerAlias – daSn0wie Jul 20 at 13:31.
I think that it is better to make separate dir for your application. I give an expamle how I realized this task: DocumentRoot "/path/to/poject/web" ServerName domain. Dev Alias /sf C:/xampp/php/PEAR/data/symfony/web/sf #php_admin_value mbstring.
Func_overload 7 AllowOverride All Allow from All AllowOverride All Allow from All DocumentRoot "/path/to/poject/web_developer" ServerName developer.domain. Dev Alias /sf C:/xampp/php/PEAR/data/symfony/web/sf #php_admin_value mbstring. Func_overload 7 AllowOverride All Allow from All AllowOverride All Allow from All Alias /css /path/to/poject/web/css AllowOverride All Allow from All Alias /images /path/to/poject/web/images AllowOverride All Allow from All Alias /js /path/to/poject/web/js AllowOverride All Allow from All Alias /sfDoctrinePlugin /path/to/poject/web/sfDoctrinePlugin AllowOverride All Allow from All Alias /sfFormExtraPlugin /path/to/poject/web/sfFormExtraPlugin AllowOverride All Allow from All Alias /uploads /path/to/poject/web/uploads AllowOverride All Allow from All web_developer dir is usual web dir of sf1.4 project.
While that's a great solve, im trying to do this with rewriting the url. – daSn0wie Jul 20 at 13:32.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.