[MontelLUG] Il ritorno dell'Apache

Stefano Fraccaro stefano.fraccaro a gmail.com
Mer 13 Ott 2010 15:18:57 CEST


  Mi verrebbe da dire.....

aggiungi il modulo mod_write
metti un file .htaccess rulla root con dentro queste direttive

|RewriteEngine on
RewriteRule ^dati/(.*) sitolocale/dati/$1
|

Ma forse sto dicendo solo fesserie... è un pezzo che non ci metto più le 
mani


Il 13/10/2010 15.17, Daneel Olivaw ha scritto:
> Buongiorno lista.
> Eoni fa avevo chiesto aiuto su come far fare cose turche ad Apache,
> scoprendo grazie ai suggerimenti che poi per lui era una cosa di
> normale routine.
>
> Tanto per riassumere, era come esporre un sito interno in modo che
> sembrasse un pezzo di quello esterno, cioè:
> - sito interno: http://macchinalocale:1111/sitolocale
> - come appare all'esterno: http://sitoditta.it/sitolocale
>
> Le direttive sono:
> ProxyPass              /sitolocale http://macchinalocale:1111/sitolocale
> ProxyPassReverse  /sitolocale http://macchinalocale:1111/sitolocale
> ProxyPreserveHost on
>
> Bene, oggi mi si aggiunge un altro problema: il nuovo accrocchio che
> devo esporre ha il pessimo vizio di variare la "radice" del sito, cioè
> la parte "statica" si ferma alla porta, mentre il resto varia in base
> alla pagina, cioè:
>
> - accrocchio locale:
>    - pagina di ingresso: http://macchinalocale:1111/paginalogin
>    - pagina dati: http://macchinalocale:1111/dati
>    - pagina x: http://macchinalocale:1111/x
> e via così
>
> In pratica mentre carico correttamente la pagina di login
> visualizzandola in: http://sitoditta.it/sitolocale/paginalogin ,
> appena faccio l'autenticazione mi redirige a: http://sitoditta.it/dati
> , bruciando il "sitolocale" e naturalmente dando un bell'errore di
> pagina inesistente.
>
> Qualcuno sa come fare restare "statica" la parte "sitolocale"? Sto
> passando al setaccio le varie impostazioni di Apache, ma non mi
> capisco... o sto guardando quelle sbagliate o le sto usando in maniera
> non conforme...
>
> Grazie in anticipo :-)
>
> Daneel Olivaw
>


-- 

*Stefano Fraccaro*
Automation Department

*Simec S.p.A. - *via E. Fermi, 4 - 31030 Castello di Godego - Treviso, Italy
Tel: +39.0423.7351
Fax: +39.0423.735349
E-mail:* **stefano.fraccaro**@simec.it
*Web Site:* **www.simec.it
*Web Site:* **www.genius.simec.it

*NOTICE: This message contains SIMEC SPA classified information intended 
only for use of the addressed name above. If the reader of this message 
is not the intended recipient or the employee or agent responsible for 
delivering the message to the intended recipient, please note that 
dissemination, distribution or copying of this communication is strictly 
forbidden. Anyone who receives this communication in error should notify 
us immediately by phone and return the original message to us at the 
above address.

SIMEC SPA - tutti i diritti riservati / all rights reserved





More information about the montellug mailing list