Problems with setting up tilde (~) account
Permalink
I'm having a heck of a time setting up (actually transferring) a C5 site into an account with a tilde directory; like this:
http://www.domain.com/~useraccount/...
I've tried every combination of setups in the site.php and .htaccess; changed the BASE_URL to the full address with the ~, and without, the DIR_REL to /~useraccount, /, and nothing, and the .htaccess RewiteBase to /, /~useraccount/, and every combination of the above I believe.
Anyone have tips for setting this up? Problem is, I think, that the BASE_URL is normally for if it's in a directory, but it really isn't a directory.
http://www.domain.com/~useraccount/...
I've tried every combination of setups in the site.php and .htaccess; changed the BASE_URL to the full address with the ~, and without, the DIR_REL to /~useraccount, /, and nothing, and the .htaccess RewiteBase to /, /~useraccount/, and every combination of the above I believe.
Anyone have tips for setting this up? Problem is, I think, that the BASE_URL is normally for if it's in a directory, but it really isn't a directory.
I'd like to know about this, too.
I just transferred a site to c5 hosting (on getc5.com) and the default install is a tilde folder. Problem is that all the site links are root-relative on my site :-(
Since I knew the site worked previously I was confident in just making it live so it resolved to domain.com.
Would be good to know how to handle this in the future, though.
I just transferred a site to c5 hosting (on getc5.com) and the default install is a tilde folder. Problem is that all the site links are root-relative on my site :-(
Since I knew the site worked previously I was confident in just making it live so it resolved to domain.com.
Would be good to know how to handle this in the future, though.
i think it was something like baseurl: site.com/~lala
and dir rel just "" blank, if that doesn't work, comment out both the base url and the dir rel (put 2 // becore those 2 lines)
and dir rel just "" blank, if that doesn't work, comment out both the base url and the dir rel (put 2 // becore those 2 lines)
Nope, that didn't solve it. On another note, I didn't realize you could simply delete those lines from site.php, but doing so yielded the same result. Site functions but can't access CSS, login page has CSS but 403's me when I try to log in.
I'm going to have to put this on my space until I can transfer their domain I think. Sucks.
I'm going to have to put this on my space until I can transfer their domain I think. Sucks.
I'm really hoping a core team member can chime in on this, as c5's own hosting uses a tilde directory.
So it definitely should be configurable in site.php (or made to be so).
So it definitely should be configurable in site.php (or made to be so).
http://domain.com/~useraccount/~useraccount/~useraccount/~useraccou...