Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
hosting two websites in the ccgi area
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- hosting two websites in the ccgi area
hosting two websites in the ccgi area
25-05-2008 10:56 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have two domain names hosted in the ccgi area. I would like to have each one with unique content. So I have appended the following rewrite conditions at the end of my .htaccess file .
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.selfstudy.org.uk$ [nc]
RewriteRule (.*) /domainb/$1
Unfortunatley this has no effect! Am I doing something really stupid?
I have used phpinfo(); to try to investigate if the rewrite module is loaded and have not spotted the module loaded. Am I correct in assuming the rewrite module is enabled on all plus.net php servers?
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.selfstudy.org.uk$ [nc]
RewriteRule (.*) /domainb/$1
Unfortunatley this has no effect! Am I doing something really stupid?
I have used phpinfo(); to try to investigate if the rewrite module is loaded and have not spotted the module loaded. Am I correct in assuming the rewrite module is enabled on all plus.net php servers?
Message 1 of 4
(1,180 Views)
3 REPLIES 3
Re: hosting two websites in the ccgi area
27-05-2008 1:19 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm pretty sure that the output from PHPInfo(); bears no relevence to Apache Modules...
I'm not a wizard with .htaccess files.
I've even read roumours that you apparently might "no longer need this"
I think it is in the Server Apache Domain configuration stuff, which only PlusNet can control really
and to do it I think you'd probably have to Raise a ticket to request it.
But, assuming worst case - that is all false...
This is a blind copy of another Post by ffupi who had done this before.
*shrugs*, yours looks fine to me.
I don't think you've done anything stupid at all, you've gone by the book. 😕
Other might ask you to use the Drupal solution -
but that probably means more work and totally unecessary.
.htaccess should work.
I'm yet to have a fully working .htaccess file on the CCGI Service that isn't just 1 line containing "deny from all".
But that's just my personal experience - not to trust it nor to rely upon it.
Sorry I can't be of much help in this case...
Jim,
I'm not a wizard with .htaccess files.
I've even read roumours that you apparently might "no longer need this"
I think it is in the Server Apache Domain configuration stuff, which only PlusNet can control really
and to do it I think you'd probably have to Raise a ticket to request it.
But, assuming worst case - that is all false...
This is a blind copy of another Post by ffupi who had done this before.
# Domain 1 into myfolder1
RewriteCond %{HTTP_HOST} ^www.mydomain1.ext$ [nc]
RewriteRule (.*) /myfolder1/$1
# Domain 2 into myfolder2
RewriteCond %{HTTP_HOST} ^www.mydomain2.ext$ [nc]
RewriteRule (.*) /myfolder2/$1
*shrugs*, yours looks fine to me.

I don't think you've done anything stupid at all, you've gone by the book. 😕
Other might ask you to use the Drupal solution -
but that probably means more work and totally unecessary.
.htaccess should work.
I'm yet to have a fully working .htaccess file on the CCGI Service that isn't just 1 line containing "deny from all".
But that's just my personal experience - not to trust it nor to rely upon it.
Sorry I can't be of much help in this case...
Jim,
Message 2 of 4
(340 Views)
Re: hosting two websites in the ccgi area
27-05-2008 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Tried the .htaccess mods no luck. Thats why I thought the rewrite engine is not enabled.
I have asked plus.net to make the changes so that each domain points to a diffrent loaction within the ccgi area, and they say ask the forum. They will no answer any questions as they reckon this can not be handled by the ticket system.
I have asked plus.net to make the changes so that each domain points to a diffrent loaction within the ccgi area, and they say ask the forum. They will no answer any questions as they reckon this can not be handled by the ticket system.
Quote from: Prod_Man I'm pretty sure that the output from PHPInfo(); bears no relevence to Apache Modules...
I'm not a wizard with .htaccess files.
I've even read roumours that you apparently might "no longer need this"
I think it is in the Server Apache Domain configuration stuff, which only PlusNet can control really
and to do it I think you'd probably have to Raise a ticket to request it.
But, assuming worst case - that is all false...
This is a blind copy of another Post by ffupi who had done this before.
# Domain 1 into myfolder1
RewriteCond %{HTTP_HOST} ^www.mydomain1.ext$ [nc]
RewriteRule (.*) /myfolder1/$1
# Domain 2 into myfolder2
RewriteCond %{HTTP_HOST} ^www.mydomain2.ext$ [nc]
RewriteRule (.*) /myfolder2/$1
*shrugs*, yours looks fine to me.
I don't think you've done anything stupid at all, you've gone by the book. 😕
Other might ask you to use the Drupal solution -
but that probably means more work and totally unecessary.
.htaccess should work.
I'm yet to have a fully working .htaccess file on the CCGI Service that isn't just 1 line containing "deny from all".
But that's just my personal experience - not to trust it nor to rely upon it.
Sorry I can't be of much help in this case...
Jim,
Message 3 of 4
(340 Views)
Re: hosting two websites in the ccgi area
27-05-2008 1:45 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
While you can point domains to separate folders on you www (homepages) webspace via the member centre domain control, you cannot do the same on the ccgi as it does not support this.
The only way is using a .htaccess redirect like you have but that is something that CS cannot do for you.
What you have done should work but others have had similar problems and not found a way to do it, yet others using the same have got it working. We have never understood why it works for some and not others.
The only way is using a .htaccess redirect like you have but that is something that CS cannot do for you.
What you have done should work but others have had similar problems and not found a way to do it, yet others using the same have got it working. We have never understood why it works for some and not others.
Message 4 of 4
(340 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- hosting two websites in the ccgi area