[TYPO3] Fix for changing the BE admin url

Darren Clark typo3 at cwebd.co.uk
Sat Mar 25 12:07:22 CET 2006


On Thu, Mar 23, 2006 at 05:21:50PM +0000, Darren Clark wrote:
> Hi
> 
> The procedure documented to alter the backend url from /typo3 to a new
> one involves alterations to the main source code.
> 
> http://typo3.org/documentation/document-library/core-documentation/doc_core_inside/current/view/3/10/
> 
> On investigation all that needs changing is the defined value
> "TYP03_maindir". In php a defined value can only be done once, therefore
> instead of changing the scripts in the source I used the
> auto_prepend_option to set the value first via .htaccess file
> 
> This appears to work correctly, please see:
> 
> http://cwebd.co.uk/typo3doc/prepend.phps
> 
> Therefore all you need to do is update the .htaccess file to prepend the
> file above and alter the symlink typo3 to the new value.
> 
> You can then access the admin interface via:
> 
> http://yoursite/newadminurl
> 
> This should improve security as the admin interface could be any url and
> not just /typo3.
> 
> I'm still testing this, but I'd welcome your thoughts and if deemed a
> good solution the documentation and wiki page
> (http://wiki.typo3.org/index.php/Security#Change_the_TYPO3_BE_directory)
> could be updated.

In addition the BACK_PATH variable also needs to be updated in the local
extensions. I've added this into the documentation in the file at:

http://cwebd.co.uk/typo3doc/prepend.phps

--
Darren

> 
> --
> Darren
> Clark Web Development Ltd
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list