Hey guys.
After a million years away I’m back. Well at least trying to be back. and I’m having a couple of issues.
Firstly .htaccess on mac. How? I followed some instruction on how to show . files on mac, and I can see them but can’t edit them unless they have a file extension like .txt or .rtf at the end. and the server seems to be ignoring the ones i badger to just .htaccess but it abides by the one that is .htaccess.rtf. Also all of my files/folders etc are grey now. I thought only the .ones would go grey? ideas?
and secondly I’m trying to install and I’ve hit a brick wall. The install script doesn’t like my email address (.(JavaScript must be enabled to view this email address)) umm huh? it’s a valid address…
and thirdly. This could be more enginehosting problem but here we go.
I want the following urls…
http://not-just.photography-of-rock.com
and http:// system*.photography-of-rock.com
*not its real name
and at the mmoment the file structure is…
public_html/main for the folder that not-just directs to
and i want system.photography of rock to redirect to public_html/main/system*
I’m trying this in the .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^not-just.photography-of-rock.com [NC]
RewriteCond %{REQUEST_FILENAME} !main/
RewriteRule ^(.*)$ main/$1 [L]
RewriteCond %{HTTP_HOST} ^system.photography-of-rock.com [NC]
RewriteCond %{REQUEST_FILENAME} !system/
RewriteRule ^(.*)$ system/$1 [L]But am unsure if that will work. I’m assuming i can’t move the system folder out of the ee folder chain.
Help?
Thanks
David
ps. How do i get http://photography-of-rock.com to redirect to http://not-just.photography-of-rock.com?