Masking Joomla install directory

apps

#1

Hi all,

I’m starting to work with Joomla and have followed some steps to mask the installation directory that I put Joomla in. I installed Joomla to my domain.com/j/ directory, and have set up my .htaccess file to make it appear as though all pages are coming right from the root: domain.com/

Internet Explorer seems to be the exception, however. All other browsers have no problem accessing the site (Firefox, Chrome, Safari, Opera, etc.) but IE returns a DNS error and says it can’t connect to the domain.

Here’s the content of my .htaccess file:

#These first two lines might already be in the file - no need to repeat
Options +FollowSymlinks
RewriteEngine on

remove “www” (this may be optional)

#RewriteCond %{HTTP_HOST} ^www.roninstudio.net$ [NC]
#RewriteRule ^(.*)$ http://roninstudio.net/$1 [R=301]

Redirect to the Joomla root folder

RewriteCond %{HTTP_HOST} ^(www.)?roninstudio.net$ [NC]
RewriteRule ^(index.html)?$ http://www.roninstudio.net/j/ [R=301]

Only apply to URLs on this domain

RewriteCond %{HTTP_HOST} ^(www.)?roninstudio.net$

Only apply to URLs that aren’t already under folder

RewriteCond %{REQUEST_URI} !^/j/

Don’t apply to URLs that go to existing files or folders

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

Rewrite all those to insert /j

RewriteRule ^(.*)$ /j/$1 [L]

Does anything here jump out at anyone as to why this might be the case? I cobbled these rules together based on various postings from the net – my understanding on this topic is rudimentary, so I’m hoping someone else has a better grasp on this.