[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [MISC] Webportaler med php



> Vil det sige at jeg kan vælge begge dele, altså bruge zope til feks.
> mitdomæne.dk/nyt
> og php på
> mitdomæne.dk/links

Ja - du kan styre det hele fra Apache. Hvis du sætter et site op med Zope og
dens egen Zserver kan du bruge mod_proxy i Apache til at få det ind under
den ønskede sti.

Et lille eksempel:
smides ind i httpd.conf

<IfModule mod_proxy.c>
ProxyRequests       On
ProxyPass                /nyt/              http://Zope_IP:8080/nyheder/
ProxyPassReverse    /nyt/              http://Zope_IP:8080/nyheder/
    <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from all
    </Directory>
    # Enable/disable the handling of HTTP/1.1 "Via:" headers.
    # Set to one of: Off | On | Full | Block
    #
    ProxyVia Block
    # To enable the cache as well, edit and uncomment the following lines:
    # (no cacheing without CacheRoot)
    CacheRoot "/usr/local/apache/proxy"
    CacheSize 5
    CacheGcInterval 4
    CacheMaxExpire 24
    CacheLastModifiedFactor 0.1
    CacheDefaultExpire 1
</IfModule>

Forbehold:
Zope_IP kan være på hvilkensomhelst maskine (din apache skal bare kunne se
den)

Under /nyheder/(på zopemaskinen) skal alle referencer være relative til
dokumentet selv (ellers går der kludder i URLerne).

Manageinterfacet på zopemaskinnen skal betjenes direkte(der er absolutte
henvisninger)

Alle værdierne i forbindelse med Cache er defaultindstillingerne - jeg
kender intet til optimering af deres størrelse



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:23 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *