If you have set up your site with 3.9+ with the website interface and english language you can accomplish this by modifying the settings/siteaccess/eng/site.ini.append.php with the following settings:
This would detemine that the user has to log in everytime thje website is visited.
What I mean to ask is shall I start by creating a new folder in 'siteacces' say 'my_website' and then writing files '*.overide.ini.php ' and then writing my own pagelayout.tpl and also specifying in the ini files which DB to use .. (as I want to do a login page)
If yes, how would I make sure that in the admin interface , 'my_website' appears in the siteaccess drowdown .
I did the above steps and was able to aceess something like
http://localhost/my_website
but was lost when I went to the admin interface as 'my_website' was not in the site access dropdown.
Could you point to OR list the steps reqd to setting this up..
I mean if I have to create new folder 'my_website' in siteaccess . I think we will have to create the same folder(my_website) inside 'design' and the 'var' folders.
>If yes, how would I make sure that in the admin interface , 'my_website' appears in the siteaccess drowdown This is controlled by a setting called RelatedSiteAccessList, its for setting witch siteaccesses belong to each other (use the same db).
>I mean if I create new folder 'my_website' in siteaccess . That would also be created inside 'design' and the 'var' folders.
design ( [DesignSettings] ) and var ( [FileSettings] ) is specified in its own settings inside site.ini.append.php, so siteaceesses that are related(use same db) should share the same var and cache directory. This makes it easier if you need to clear cache fro the frontpage from admin siteaccess and so on.