Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_htaccess fails when habari is in a protected directory #45

Open
HabariImporter opened this issue Jun 27, 2011 · 3 comments
Open

Comments

@HabariImporter
Copy link

Initially reported by: @nicerobot as #TRAC801
If the installation is occurring under a password protected directory and the .htaccess file isn't writable, installation will attempt to verify the rewrite rules by calling RemoteRequest to fetch /check_mod_rewrite but that will fail.

There is no indication that 401 is the error. The installer just keeps failing saying that the rules don't exist and .htaccess isn't writable.

Workaround is to make .htaccess writable during the installation.

Possible solution might be to add a rule to .htaccess to ignore protections for check_mod_rewrite, at least during installation.

@HabariImporter
Copy link
Author

Author: @chrismeller
If the check_mod_rewrite call were made via AJAX, it would inherit the authentication you had to provide when originally loading the installer, would it not?

I don't know why it's being done via RemoteRequest, instead of as an AJAX call... I don't think that's how it originally was.

@HabariImporter
Copy link
Author

Ticket imported from Trac:
http://trac.habariproject.org/habari/ticket/801

@Konzertheld
Copy link
Member

Adding "confirmed" as it still happens in 0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants