I set this up to work as a subdomain on my primary domain. But when I go to http://midav.alanmarcero.com or www.midavmusic.com it shows the contents of dispatch.fcgi in the /midav folder. Any ideas?
multiple applications - weird problem
- Alanzo
- Posts: 9
- Starts: 3
- Wiki Edits: 0
http://www.midavmusic.com
I set this up to work as a subdomain on my primary domain. But when I go to http://midav.alanmarcero.com or www.midavmusic.com it shows the contents of dispatch.fcgi in the /midav folder. Any ideas?
I set this up to work as a subdomain on my primary domain. But when I go to http://midav.alanmarcero.com or www.midavmusic.com it shows the contents of dispatch.fcgi in the /midav folder. Any ideas?
- Willc
- Posts: 45
- Starts: 1
- Wiki Edits: 15
You might want to double check your .htaccess file and make sure the following lines are commented out:
General Apache options
AddHandler fastcgi-script .fcgi
2007-01-11 12:43 PM
- Alanzo
- Posts: 9
- Starts: 3
- Wiki Edits: 0
Indeed they are. And I have RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] set and the dispatch files in nonworkingapp/public are set to chmod 755
2007-01-11 12:46 PM
- Alanzo
- Posts: 9
- Starts: 3
- Wiki Edits: 0
When i change RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] to RewriteRule ^(.*)$ dispatch.cgi [QSA,L] it works. But there is a delay since it's not using FastCGI
2007-01-11 12:48 PM
- Willc
- Posts: 45
- Starts: 1
- Wiki Edits: 15
My only guess is that you need to have all your apps running on either cgi or fcgi. If you have your subdomain app running on fcgi, then you will need to comment out the AddHandler line in your main app's .htaccess and make sure that it is referencing the dispatch.fcgi.
Let us know if that works.
Thanks,
Will C.
Let us know if that works.
Thanks,
Will C.
2007-01-11 01:05 PM
- Alanzo
- Posts: 9
- Starts: 3
- Wiki Edits: 0
That was it alright. Thanks for the 2nd head. :)
2007-01-11 01:20 PM
- Willc
- Posts: 45
- Starts: 1
- Wiki Edits: 15
Great! Glad everything is up and running!