BreadCrumbs: Apache
Apache
From Luke Jackson
(Difference between revisions)
Revision as of 20:01, 28 December 2006 (edit) Ljackson (Talk | contribs) (→How do I change the length of the URLs generated by mod_autoindex?) ← Previous diff |
Revision as of 20:59, 11 May 2007 (edit) Ljackson (Talk | contribs) (→FAQs) Next diff → |
||
Line 16: | Line 16: | ||
IndexOptions FancyIndexing VersionSort NameWidth=* | IndexOptions FancyIndexing VersionSort NameWidth=* | ||
</pre> | </pre> | ||
+ | |||
+ | === (13)Permission denied: /www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable === | ||
+ | |||
+ | This can range in exact location but at the core it is a permissions issue. | ||
+ | |||
+ | * While child directories of the DocumentRoot can have a permission value of 744 the DocumentRoot needs to have a permission of 755. | ||
+ | |||
+ | * Ensure all .htaccess files have a permission of 755 | ||
+ | |||
+ | chmod 755 filename | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:Mac OS X]] | [[Category:Mac OS X]] |
Revision as of 20:59, 11 May 2007
FAQs
How do I change the length of the URLs generated by mod_autoindex?
The NameWidth keyword allows you to specify the width of the filename column in bytes.
- -NameWidth (or unset) allows mod_autoindex to calculate the best width.
- NameWidth=n fixes the column width to n bytes wide.
- NameWidth=* grows the column to the necessary width.
Below is an example on how to edit your httpd.conf file to enable unlimited characters:
# IndexOptions: Controls the appearance of server-generated directory # listings. # IndexOptions FancyIndexing VersionSort NameWidth=*
(13)Permission denied: /www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
This can range in exact location but at the core it is a permissions issue.
- While child directories of the DocumentRoot can have a permission value of 744 the DocumentRoot needs to have a permission of 755.
- Ensure all .htaccess files have a permission of 755
chmod 755 filename