sorry I just sent you an email with login stuff.
The structure is simple. I have the application residing in siteA. I then have siteB and soon I will add siteC. Different domains, different folders.
As for the htaccess file, I have RewriteEngine On.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
June 30, 2007 1:37pm
Subscribe [2]#16 / Jul 02, 2007 4:21pm
sorry I just sent you an email with login stuff.
The structure is simple. I have the application residing in siteA. I then have siteB and soon I will add siteC. Different domains, different folders.
As for the htaccess file, I have RewriteEngine On.
#17 / Jul 02, 2007 4:24pm
Yes, but are those different domain’s folders under SiteA, or alongside.
There are two popular setups, and many others, of course. But most commonly:
SiteA
—-SiteB
—-SiteC
Or
SiteA
SiteB
SiteC
Can you paste what you have in your .htaccess file please? And confirm which structure your sites use?
#18 / Jul 02, 2007 4:26pm
got ya! They are alongside. Im using a MT gridserver if that helps.
htaccess contents
RewriteEngine On
RewriteRule ^domains/[^\/]+/html/webstats[/]?$ <a href="https://beta-ac.mediatemple.net/services/manage/grid/reports/urchin/143052/urchin.cgi">https://beta-ac.mediatemple.net/services/manage/grid/reports/urchin/143052/urchin.cgi</a> [R]#19 / Jul 02, 2007 4:31pm
Is that .htaccess in all 3 directories or only in the main site directory?
#20 / Jul 02, 2007 4:34pm
actually its at the root level. not in either of the directories from the mentioned domains.
#21 / Jul 02, 2007 4:46pm
Ah ok. .htaccess cascades down the directory tree - so if it’s at root then it is effecting all three sites. Can you try removing .htaccess off of your server and see if you can login with the admin.php? That would either rule out .htaccess or ... not. =)
#22 / Jul 02, 2007 5:59pm
For some reason with the current setup on the gridserver I cant change permissions on htaccess. I’m waiting to find out how to remove that restriction. I’ll be back soon
#23 / Jul 02, 2007 6:11pm
You could just try deleting the contents of it, an empty .htaccess file to test with is as good as none, in this case. =) Just make a backup first!
#24 / Jul 02, 2007 6:14pm
yeah I tried that. I’m NOT quit sure why they dont allow you to write to it. In the meantime is their anything else I could try?
#25 / Jul 02, 2007 6:21pm
We really need to rule that out. I suspect that some sort of redirect is going on that is interfering with the login process. I’m going to ask the team for ideas, too. But I really, really feel we need to rule that .htaccess out.
#26 / Jul 02, 2007 6:23pm
sounds like a plan.
#27 / Jul 02, 2007 7:51pm
Ok so in short. Im not allowed to remove or change the .htaccess file from the grid server. Is there anybody there that has experience with gridserver implementation? I’m stuck at this point.
#28 / Jul 02, 2007 8:00pm
If you’re not allowed to change the .htaccess file - how did you get that information in there in the first place? We have a few customers that use Gridserver and I’ve not heard of this particular issue…
#29 / Jul 02, 2007 8:08pm
Its weird I know. I’m sending you a screenshot.
I guess I cant send you a screenshot. Basically its says in a red box. “This file may only be viewe, it is not owned by you”
#30 / Jul 02, 2007 9:10pm
pencilthief, I strongly suggest you contact MediaTemple’s support staff.
I use gs for about 6 or 7 smaller sites. I’ve never had a problem modifying my .htacess files. The domain is listed as the owner, and I use sFTP instead of FTP to access the site.
Their support staff should be able to help you modify or just totally remove that .htaccess file.