![]() |
![]() ![]() |
![]() |
jar17 |
![]()
Post
#1
|
Member ![]() ![]() ![]() Group: Members Posts: 33 Joined: 10-August 20 Member No.: 27,482 ![]() |
Hi
I have little problem with .htaccess files I found this code that hides the php on pages: CODE RewriteEngine on RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC] RewriteRule ^ /%1 [NC,L,R] RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^ %{REQUEST_URI}.php [NC,L] and it seems to work well but then i tried using projectSend in my website and the login didnt work so i figured htaccess may be the problem so to test I deleted .htaccess and yep the login started working so to fix this I created new .htaccess file in the projectSend folder with only this in it: CODE RewriteEngine on and that seems to fix it also but I dont really understand these commands so I have to ask how good is my solution and how to improve it if necessary? thx! |
jar17 |
![]()
Post
#2
|
Member ![]() ![]() ![]() Group: Members Posts: 33 Joined: 10-August 20 Member No.: 27,482 ![]() |
Thx for letting me know my solution wasnt too bad after all
![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 18th February 2025 - 06:59 PM |