m�ndagen den 2 juni 2003 16.30 skrev Thomas Backlund:
> From: "Oden Eriksson" <[EMAIL PROTECTED]>
>
> > Hi.
> >
> > I have partly gotten MNF to work under 9.1 and apache2, but nothing fills
>
> up
>
> > in the dialogs, like what nic I use, fw rules and such. I guess it has
> > something to do with the backend. Will this ever work, would it be hard
>
> to
>
> > fix or should I drop this?
>
> IMHO if one look at current MDK Releases, there should be an MNF 9.2...
> as we have had SNF 7.2, MNF 8.2, ...
>
> so it should be done...
> It would be nice to roll out MDK 9.2 and MNF 9.2 at the same time ;-)
>
> but as for having it work on 9.1, I haven't tried...
>
> Thomas

I have spent some time with this now and it seems to work quite good, 
surprise!. I don't know about the vpn stuff since I'm running a different 
kernel.... But then it's easy to reboot onto a mandrake kernel, will try some 
more later on. So..., to repeat and clarify this: I seem to be running the 
MNF web gui from cooker under apache v2.0.46 and php v4.3.2 and Mandrake 9.1. 
A minimal and somewhat sloppy apache2 conf file is attached if someone is 
interested.

Have fun!

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com
ServerRoot "/etc/httpd/2.0"

#ServerName localhost

#LockFile /etc/httpd/httpd.lock

PidFile /var/run/httpd-naat.pid

Timeout 300

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15

<IfModule prefork.c>
StartServers         1
MinSpareServers      2
MaxSpareServers     10
MaxClients          10
MaxRequestsPerChild  0
</IfModule>

Listen 8443

LoadModule access_module        modules/mod_access.so
LoadModule auth_module          modules/mod_auth.so
LoadModule auth_anon_module     modules/mod_auth_anon.so
LoadModule log_config_module    modules/mod_log_config.so
LoadModule env_module           modules/mod_env.so
LoadModule expires_module       modules/mod_expires.so
LoadModule headers_module       modules/mod_headers.so
LoadModule usertrack_module     modules/mod_usertrack.so
LoadModule setenvif_module      modules/mod_setenvif.so
LoadModule ssl_module           extramodules/mod_ssl.so
LoadModule php4_module          extramodules/mod_php4.so
LoadModule mime_module          modules/mod_mime.so
LoadModule cgi_module           modules/mod_cgi.so
LoadModule negotiation_module   modules/mod_negotiation.so
LoadModule dir_module           modules/mod_dir.so
LoadModule actions_module       modules/mod_actions.so
LoadModule alias_module         modules/mod_alias.so
LoadModule rewrite_module       modules/mod_rewrite.so
LoadModule external_auth_module extramodules/mod_auth_external.so

User httpd-naat

Group admin

UseCanonicalName Off

DocumentRoot "/var/www-naat/html"

ServerPath /~httpd-naat

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory "/var/www-naat/html">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

DirectoryIndex index.html index.html.var

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

TypesConfig conf/apache-mime.types

DefaultType text/plain

HostnameLookups Off

ErrorLog /var/log/naat/error_log

LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

CustomLog /var/log/naat/access_log combined

ServerTokens Minimal

ServerSignature Off

ScriptAlias /cgi-bin/ "/var/www-naat/cgi-bin/"

<Directory "/var/www-naat/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

AddHandler cgi-script .cgi

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully

AddType application/x-ns-proxy-autoconfig .pac

<IfModule mod_mime.c>
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .php4
</IfModule>

<IfModule mod_ssl.c>
    SSLSessionCache dbm:/var/log/naat/ssl_scache
    SSLSessionCacheTimeout 300
    SSLMutex file:/var/log/naat/ssl_mutex
</IfModule>

<IfModule mod_ssl.c>

<VirtualHost _default_:8443>

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/ssl/apache/server.crt
SSLCertificateKeyFile /etc/ssl/apache/server.key

#LogLevel debug
#SuexecUserGroup httpd-naat admin

DocumentRoot /var/www-naat/html

<Directory /var/www-naat/html>

    DirectoryIndex index.html index.php index.cgi
    Options MultiViews Indexes Includes FollowSymLinks
    AllowOverride None
    ExpiresActive On
    ExpiresByType image/png A2

    <IfModule mod_access.c>
        Order allow,deny
        Allow from all
    </IfModule>

</Directory>


<Directory /var/www-naat/cgi-bin>

    AllowOverride None
    Options ExecCGI
    SSLOptions +StdEnvVars

    <IfModule mod_access.c>
        Order allow,deny
        Allow from all
    </IfModule>

</Directory>

<Files ~ "\.wvm">
    Order allow,deny
    Deny from all
</Files>

<Files ~ "\.(cgi|shtml|phtml|php?)$">
    SSLOptions +StdEnvVars
</Files>

<IfModule mod_auth_external.c>
    AddExternalAuth  pwauth extramodules/pwauth
    SetExternalAuthMethod  pwauth pipe
    AddExternalGroup unixgroup extramodules/unixgroup
    SetExternalGroupMethod  unixgroup environment
</IfModule>

<IfModule mod_setenvif.c>
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
</IfModule>

<IfModule mod_log_config.c>
    CustomLog /var/log/naat/ssl_access_log \
    "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>

ErrorLog /var/log/naat/ssl_error_log

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteOptions inherit
</IfModule>

</VirtualHost>                                  

</IfModule>

Reply via email to