On Mon, 27 Dec 1999, Eric Thompson wrote:

> I have upgraded to Midgard v1.2.5, using the binaries for RedHat 6.0,
> using correct versions of Apache & MySQL.

Do these work as-is for SuSE? Nice.

> <Directory /www/midgard>
>       require valid-user
>       AuthName Midgard
>       AuthType Basic
> 
>   <Files midgard-root.php3>
>     require valid-user
>     AuthName Midgard
>     AuthType Basic
>   </Files>
> </Directory> 

You can place the <files> section outside the <directory>
section to globally protect the midgard-root.php3 file; this
is the default (and best, I believe) setup.

> ...then skipping to Virtual hosts section:
> 
> NameVirtualHost 209.203.249.113:80
> NameVirtualHost 209.203.249.113:8099
> NameVirtualHost 209.203.249.113:8101 
> 
> <VirtualHost 209.203.249.113:80>
>         ServerName localhost
> </VirtualHost>
> 
> <VirtualHost 209.203.249.113:8101>
>   ServerName localhost
>  </VirtualHost>
> 
> <VirtualHost 209.203.249.113:8099>
>      ServerName localhost
>     </VirtualHost> 

Unless you have done 'interesting' things to your DNS setup, this
will not work. Localhost usually maps to the IP address 127.0.0.1,
209.203.249.113 seems to be r113-249-dsl.sea.lightrealm.net (at
least now, you may have a dynamic IP). Set the servername to
localhost in the config and the database, and the IP to 127.0.0.1
and try again.

>                /www/midgard is root:root
>                /www/midgard/midgard-root.php3 is root:root

OK, but who does apache run as (User and Group directive) and
what are the access permissions on those directories and files.

> So that is where I'm at. I just get the default page
> whenever I try:  http://localhost:8099 (or 8101)

That's probably since you have no NameVirtualHost and Virtualhost
set up for localhost(=127.0.0.1).

Bye,
Emile



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to