Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.
quale/i file hai modificato e come?
think simple think ringo
Nel file httpd.conf ho attivi i mod:
(ma se faccio apache -l mi lista solo pochi moduli - i compiled-in - come posso sapere tutti i moduli attivi, effettivamente?)codice:LoadModule rewrite_module modules/mod_rewrite.so LoadModule alias_module modules/mod_alias.so LoadModule userdir_module modules/mod_userdir.so
Poi in fondo alla sezione 2 ho scritto:
Non ho scritto nulla riguardo la mod_rewrite: solo tolto il cancelletto.codice:#These must come last, and in this order! Alias /wiki "C:/Apache/htdocs/w/index.php" Alias /index.php "C:/Apache/htdocs/w/index.php"
-----
Poi ho controllato che il file "LocalSettings.php" fosse come descritto, ma lo era già:
Codice PHP:
$wgScriptPath = "/w";
$wgScript = "$wgScriptPath/index.php";
Non uso cache varie.Codice PHP:
$wgArticlePath = "$wgScript/$1";
Non ho PHP come CGI (ma come modulo).
Con questa config non riesco ad accedere neanche alla home page (mi dà forbidden).
Rinnovo il master: :master:
Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.
il file error log di apache cosa riporta?
think simple think ringo
Passiamo agli errori..
Come impostato prima, dice forbidden:
Ho provato ad impostarlo così:codice:[Wed May 03 13:40:09 2006] [error] [client 192.168.0.1] Directory index forbidden by rule: C:/Apache/htdocs/
Ora digitando sito/wiki si apre la wikipedia...codice:#These must come last, and in this order! Alias /wiki "C:/Apache/htdocs/w/index.php" Alias /w/index.php "C:/Apache/htdocs/w/index.php"
Ma nella barra dell'indirizzo visualizzo ancora /w/index.php !!
(quindi niente errori nel log, ora...)
Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.
Per evitare il forbidden controlla di avere la direttiva "Options Indexes" nel file httpd.conf
think simple think ringo