Hello,
I need help with htaccess and a sub domain.
I have a site I developed with ci 2.1.3
My folders structure is:
c:\sites\mysite
c:\sites\mysite\application
c:\sites\mysite\system
c:\sites\mysite\public_html\index.php
c:\sites\mysite\public_html\assets
In the public_html folder I have the htaccess file:
RewriteEngine On
RewriteCond $1 !^(index\.php|assets|images|robots\.txt|captcha)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Now I uploaded my site to the live server to a sub directory called: dev
I created a subdomain: dev.mysite.co.za
I uploaded all the files to the dev directory.
When I go to: dev.mysite.co.za
I get the page Index of with a list of the directories that are in the dev directory.
What do I need to do in order to see the site on the sub domain?
Can someone please help?