LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache2 .htaccess problem suse 10.0 (https://www.linuxquestions.org/questions/linux-networking-3/apache2-htaccess-problem-suse-10-0-a-463113/)

PB0711 07-11-2006 07:58 PM

Apache2 .htaccess problem suse 10.0
 
Hey all,

So I am mirroring a server onto another server. I have on server 1 an LAMP. On server 2 I have setup LAMP. All is running well on server 2, except that the admin page doesn't come up. I have tried the same config as server 1 and it doesn't work for some reason. This is what I have for the httpd.conf file.
Code:

# forbid access to the entire filesystem by default
<Directory />
    Options Indexes FollowSymLinks Includes
    AuthType basic
    AllowOverride AuthConfig
    Order allow,deny
    Allow from All
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
    Allow from all
</Files>

Is there a module that I have forgotten about to load? :scratch:
oh and
Code:

/srv/www/htdocs/admin # cat .htaccess
AuthUserFile /usr/local/apache/htdocs/admin/.htpasswd
AuthName "METLIN Administrator space"
AuthType Basic

this is my .htaccess file!
Thank you so much for any help given, I'm lost on this one.

BrianK 07-11-2006 09:30 PM

When you say the page is not coming up, does that mean that you're getting a 404, or is it a Forbidden, or Internal Server Error? What's the error message?

PB0711 07-12-2006 11:23 AM

Good point knew I forgot something.
On a windows maching I just get nothing, the "The page cannot be displayed"
on Linux I get "The connection was refused when attempting to contact dios"
and I checked that I have an index page in the admin folder!


All times are GMT -5. The time now is 08:55 AM.