HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   ISPConfig .htaccess problems. (

Code5 22nd July 2008 03:24

ISPConfig .htaccess problems.
Hi all, i seem to be having a problem with creating a .htaccess file so that i can let the public read and list directories and files within a site such as

Every time i upload a .htaccess file it transfers then disappears. Its really stressing as ive tried this numerous times. I even used the ispconfig access control and it worked for the user/pass auth but then denied for directory and file listing.

Any ideas how i can solve this little problem?

Im running Ubuntu Server 8 and ISPConfig, setup using Ubuntu perfect server, etc etc.

Many thanks.

Hans 22nd July 2008 08:22

After uploading the .htaccess file, it does not disappear, but it is hidden.

Make sure that the use of .htaccess files is allowed, by adding the following to the Apache directives field within ISPConfig for that site:
<Directory "/var/www/web#/web">
Options FollowSymLinks
AllowOverride All

Note: web# is the webnumber as created by ISPConfig.

Allow the use of .htaccess files on your server globaly, by changing AllowOverride None into AllowOverride All within your Apache configuration file.
Restart Apache afterwards.

Code5 23rd July 2008 04:28

One last thing, lol, where would i locate the apache2 config file, and what is the name of the file?


Hans 23rd July 2008 09:21

On Debian it is /etc/apache2/apache2.conf but can be differenet on other Linux versions.

All times are GMT +2. The time now is 17:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.