Welcome Guest, Not a member yet? Register   Sign In
Rewrite + Authentication
#19

[eluser]JanDoToDo[/eluser]
Ok, so these are my htaccess files:

Main .htaccess
Code:
Options +FollowSymLinks
RewriteEngine on

RewriteBase /

#RewriteCond %{REQUEST_URI} !^/(index\.php|index\.html|assets|payment|robots\.txt) [NC]
#RewriteRule ^(.*)$ index.php/%1 [L]

#RewriteCond %{REQUEST_URI} !^/payment
#RewriteRule ^(.*)$ index.php?%1 [L]

#RewriteCond %{REQUEST_URI} !^/payment
#RewriteRule ^/payment [L]

RewriteRule ^(payment|assets) - [L]

RewriteCond $1 !^(index\.php|index\.html|assets|payment|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

#RewriteCond $1 !^(index\.php|index\.html|assets|payment|robots\.txt)
#RewriteRule ^(.*)$ /index.php/$1 [L]

(Notice all the options I've tried!!!!!)

The change you just mentioned still doesnt work! Sad

.htaccess in subdirectory :
Code:
RewriteEngine off

AuthName "Admin section"
AuthUserFile "/home/studentc/.htpasswds/public_html/assets/scripts/payment/passwd"
AuthType Basic
require valid-user


Messages In This Thread
Rewrite + Authentication - by El Forum - 05-12-2010, 04:29 AM
Rewrite + Authentication - by El Forum - 05-12-2010, 12:28 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 09:39 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:04 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:05 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:12 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:16 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:28 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:37 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:39 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:41 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:45 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 10:47 AM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:08 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:11 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:13 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:18 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:21 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:25 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:43 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 04:57 PM
Rewrite + Authentication - by El Forum - 05-17-2010, 08:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB