Closed
Bug 147476
Opened 23 years ago
Closed 23 years ago
dot .htaccess issues not documented.
Categories
(Bugzilla :: Administration, task, P2)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: CodeMachine, Assigned: justdave)
Details
(Whiteboard: want for 2.16rc2)
Attachments
(1 file, 2 obsolete files)
1014 bytes,
patch
|
bbaetz
:
review+
afranke
:
review+
|
Details | Diff | Splinter Review |
We need to document that if you change your webdotbase, you may need to alter
your web server permissions. In particular, your .htaccess file might need to
be added or recreated.
This should go in defparams.pl so it appears on the parameter.
Reporter | ||
Updated•23 years ago
|
Severity: normal → major
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.16
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
![]() |
||
Comment 2•23 years ago
|
||
Comment on attachment 85378 [details] [diff] [review]
Patch
>+data/webdot directory. You can delete any existing .htaccess file and
>+re-run checksetup.pl and Bugzilla will create a new .htaccess file with
>+the correct rules.",
This is incorrect, because checksetup.pl always creates the
.htaccess file with a hardcoded IP address regardless of webdotbase.
Marking needs-work.
Attachment #85378 -
Flags: review-
Reporter | ||
Comment 3•23 years ago
|
||
You also need to note that this is only if htaccess creation is on in
localconfig, and that this is only if you're using a web server that supports
.htaccess. =)
![]() |
||
Comment 4•23 years ago
|
||
Checksetup probably should use webdotbase when constructing the .htaccess,
though. Filed bug 147800 on that.
![]() |
||
Comment 5•23 years ago
|
||
To speed this up, I propose another wording which doesn't promise that much.
Since the .htaccess file has some good comments in it anyway, I think it's OK
for 2.16rc2 to just have the need for a change noted.
Dave can then set milestone/priority of bug 147800 as he sees fit for a better
solution. But until then, I think this is an acceptable quick fix.
Attachment #85378 -
Attachment is obsolete: true
Reporter | ||
Comment 6•23 years ago
|
||
Not everyone uses web servers that support .htaccess. They may need to alter
the configuration manually.
![]() |
||
Comment 7•23 years ago
|
||
I agree that the description is not totally correct, but I think it's on the
same line with the rest of the Bugzilla: instructions are good for Apache users,
the rest will have to improvise. Anyone who managed to get BZ running on
something else than Apache will probably understand what this instruction means
in practice.
On the other hand, if you have a universally valid (yet concise and helpful)
message to put there, I see no reason why we couldn't fix this for good now. I
think the major problem is that we haven't put much thought into file protection
on other servers, and thus aren't very good at giving practical advice anyway.
Until this issue is cleared out, Bugzilla will have Apache-specific stuff
floating around here and there anyway.
![]() |
||
Comment 8•23 years ago
|
||
Comment on attachment 85406 [details] [diff] [review]
Patch v2: different wording
Looks good to me. r=afranke
Attachment #85406 -
Flags: review+
Reporter | ||
Comment 9•23 years ago
|
||
You don't need to put a universal message, you just need to indicate that the
instructions are for Apache. Also, you don't mention that checksetup can
recreate the .htaccess file.
![]() |
||
Comment 10•23 years ago
|
||
Ok then, Matty's comments addressed.
Attachment #85406 -
Attachment is obsolete: true
![]() |
||
Comment 11•23 years ago
|
||
Comment on attachment 85745 [details] [diff] [review]
Patch v3: Apache and checksetup.pl mentioned
I don't think we need to make this any more complecated by saying '... as long
as create_htaccess is set it localconfig'
r=bbaetz
Attachment #85745 -
Flags: review+
![]() |
||
Comment 12•23 years ago
|
||
Comment on attachment 85745 [details] [diff] [review]
Patch v3: Apache and checksetup.pl mentioned
r=afranke
Attachment #85745 -
Flags: review+
Assignee | ||
Comment 13•23 years ago
|
||
HEAD:
Checking in defparams.pl;
/cvsroot/mozilla/webtools/bugzilla/defparams.pl,v <-- defparams.pl
new revision: 1.74; previous revision: 1.73
done
BUGZILLA-2_16-BRANCH:
Checking in defparams.pl;
/cvsroot/mozilla/webtools/bugzilla/defparams.pl,v <-- defparams.pl
new revision: 1.73.2.1; previous revision: 1.73
done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•