Under cmsms 1.11.9
# To deny PHPs
<Files ~ "\.(php|php3|php4|php5|phtml|pl|cgi|txt|pdf)$">
order deny,allow
deny from all
</Files>
As your content url show no more any file extension with custom urls it makes sense to put this lines, that i understand forbids access to any page ending in those file extensions.
But it got me freezed until i found i did copy it to my htaccess per request in the documentation, when i tried to access admin page and could not, as login page ends in login.php and got acces forbidden error.
So i ask myself if im missing another way to acces admin login, or not understanding the purpose of those lines.
[SOLVED]Confused about this line for .htaccess in doc folder
[SOLVED]Confused about this line for .htaccess in doc folder
Last edited by userwords on Tue Oct 01, 2013 6:00 pm, edited 1 time in total.
Re: Confused about this line for .htaccess in doc folder
Use and rename htaccess.txt file!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Confused about this line for .htaccess in doc folder
lol at first i stared at your reply wide open eyes like:Rolf wrote:Use and rename htaccess.txt file!
This guy is making some deep zen statement i cannot even grasp.
Then spark in my mind and go to ftp to find that there is indeed a htaccess.txt that was the one i was supposed to use

Re: Confused about this line for .htaccess in doc folder
LOL, I often reply from my mobile phone, so I don't make long sentencesuserwords wrote:This guy is making some deep zen statement i cannot even grasp.

Glad it helped!
Thanks for adding [solved] to the title.
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -