Hi All!
I currently have a VPS at Jag (on ulysses) and am very happy with it and the Jag support folks. So much so that, when asked for advice about a new host, I directed my client to Jag for a shared account.
They set up the account yesterday and I uploaded the code and databases.
I had fun getting some pear stuff to work (successful in the end) but have some questions.
I fully expect that the issues will go away once the domain has been transferred and suspect that the problems I am seeing now are related to using the temporary URL (http://elrond.nocdirect.com/~<username>).
The first problem is that any input I do in the .htaccess file at the main /public_html level doesn't 'take'.
The second is that the document root (in PHP $_SERVER["DOCUMENT_ROOT"]) says '/usr/local/apache/htdocs' and that appears to not be pointing at the root I want and any absolute references in the html ('/styles/xxx.css' as opposed to 'styles/xxx.css') fail (ditto for images and any other specifically named directory). The use of $_SERVER["DOCUMENT_ROOT"] in PHP for includes also comes up with the wrong path.
I have a shared hosting account with another outfit (for backup purposes and alternate e-mail) and use $_SERVER["DOCUMENT_ROOT"] without a problem. So, I guess it'll work fine once the DNS changes have been made.
What I'm looking for here is reassurance that my guess is right and that everything will be good after the DNS change.
I don't want to have made things difficult for my client.
Also, have other shared host users had success (or failure) using mod_rewrite stuff in their .htaccess? I mean using things like:
As well as getting it to recognize PHP directives in the .htaccess like:Code:RewriteEngine on RewriteRule ^enhanced\/([^_]+)_(.+)\.php$ /enhanced_$1.php?id=$2 [L] RewriteRule ^single/property\/(.+)\.php$ /singleProperty.php?id=$1 [L] RewriteRule ^popup\/(.+)\.php$ /property_popup.php?id=$1 [L]
I use things like that in the client's old hosting site and want to make sure we don't break things in the move. Given that the old host mostly did not update their core stuff, I suspect all will work well on Jag.Code:php_value include_path ".:/home/pear;/home/luxuryfr:/home/luxuryfr/inc" php_value upload_max_filesize 10M php_value magic_quotes_gpc Off
I currently have to put a php.ini file in each directory from which a page is opened for it to recognize a usable include_path and I'd much rather not do that (putting two or three directives in a single .htaccess is so much easier).
Thank you all for any help/support/reassurances you can give me.


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks