LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mod_rewrite bacula issue (https://www.linuxquestions.org/questions/linux-server-73/mod_rewrite-bacula-issue-4175589212/)

baldur_1 09-11-2016 08:58 AM

mod_rewrite bacula issue
 
okay, so i am trying to get webacula working on my server. i am running fedora 24 and apache 2.4. webacula utilizes mod_rewrite and when i tried to rewrite it without, it did not work so apparently, i need to utilize mod_rewrite. i confess i know little about it and i have been trying to research but until then i need a little help. here is the code they are using...

Code:


RewriteEngine On

RewriteBase  /webacula
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

okay, so i am having trouble securing it. i tried using require ip ip.address but mod_rewrite was causing issues with my other websites so that didnt work.

i tried setting this to use require user and a password but because of mod_rewrite, it is causing an internal loop that i havent figured out how to stop.

and so as it sits right now, i cannot get this site secured. i would prefer password securing this with a password but i have not found a solution to stop the looping yet.

can someone help me with this?

baldur_1 09-11-2016 09:20 AM

never mind, i misdiagnosed the issue. the issue was with the password file. i got it fixed...


All times are GMT -5. The time now is 01:37 PM.