Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-11-2006, 07:58 PM   #1
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
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.
# forbid access to the entire filesystem by default
<Directory />
    Options Indexes FollowSymLinks Includes
    AuthType basic
    AllowOverride AuthConfig
    Order allow,deny
    Allow from All

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
    Allow from all
Is there a module that I have forgotten about to load?
oh and
/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.
Old 07-11-2006, 09:30 PM   #2
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
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?
Old 07-12-2006, 11:23 AM   #3
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
apache2 + htaccess + ssl rubella Linux - Security 1 02-07-2006 05:17 AM
Problem with Apache2 in linux suse v.9.1 mohsena Programming 3 10-19-2005 11:48 AM
Suse 9.1 Pro & htaccess file: mod_rewrite not loading sorenson2743 SUSE / openSUSE 2 12-03-2004 11:36 PM
Apache2 .htaccess - Unable To Get Password Prompt. magestic Linux - Software 2 10-27-2004 08:49 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration