On ds, 2004-08-07 at 20:26, Jaume wrote: > Lo normal fora que el cups estigues escoltant pel port 631 de localhost. De > totes maneres, a /etc/apache/httpd.conf pots especificar el(s) port(s) per on > vols que escolti l'apache. Tinc això (em penso que és correcte): # Port: The port to which the standalone server listens. For # ports < 1023, you will need apache to be run as root initially. # Port 80 # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot /var/www (per tant hauria de veure el document /var/www/index.html (us l'adjunto) Però, en canvi, quan faig http://localhost (o http://localhost:80) em surt la web del CUPs (igual que si faig http://localhost:631) Estic començant a sospitar que potser no tinc el apache arrencat (al top no em surt cap httpd ni cap apache, tot i que al webmin el tinc posat per inicialitzar-se a l'arrencar...). Com puc arrencar o saber si està arrencat l'apache? (per cert, he vist que tinc instal·lats, i en principi arrencat-se, l'apache i l'apache-perl... no seran redundants i/o incompatibles?). Amb el webmin faig allò de reinicialitzar l'apache i el resultat és el mateix (encara que aturi l'apache-perl) La veritat és que estic perdut... Joan > A més, lo que dius del directori "public_html" ho > tens com a mòdul de l'apache (l'1.3), a l'apartat "UserDir": > > # > # UserDir: The name of the directory which is appended onto a user's home > # directory if a ~user request is received. > # > <IfModule mod_userdir.c> > UserDir public_html > </IfModule> > > # > # Control access to UserDir directories. The following is an example > # for a site where these directories are restricted to read-only. > # > <Directory /home/*/public_html> > AllowOverride FileInfo AuthConfig Limit > Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec > <Limit GET POST OPTIONS PROPFIND> > Order allow,deny > Allow from all > </Limit> > <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> > Order deny,allow > Deny from all > </Limit> > </Directory> > > > > On Sat 07 Aug 2004 13:57, calbasi wrote: > > Hola, > > > > Vinc d'un Mandrake on per veure els fitxers locals només havia de crear > > el directori ~/public_html i posar els fitxers .php o .htm etc i posar > > al navegador: > > > > http://localhost/~joan/ per veure'ls (via apache). > > > > Ara tinc la Sarge i no em funciona... Segons el webmin l'apache està > > funcionant (a l'arracar l'ordinador), però si faig un top no veig cap > > procès que es digui apache... He vist a la configuració del apache, que > > està posat el directori /var/www però si poso algun fitxer i li dono > > l'adreça http://localhost/fitxer_x.htm no em troba res (en canvi quan li > > poso http://localhost/index.html en comptes de visualitzer el fitxer que > > està allà, i que és un del apache que dona informació general, em surt > > el web d'administració del CUPs). > > > > Algú sap que passa? Pot ser que tingui algun altre servidor de web que > > li faci la guitza a l'apache?? > > > > Gràcies, -- "El meu paper no és transformar el món ni l'home sinó, potser, el de ser útil, des del meu lloc, als pocs valors sense els quals un món no val la pena viure'l" A. CamusTitle: Placeholder page
Placeholder pageIf you are just browsing the webThe owner of this web site has not put up any web pages yet. Please come back later. Move along, nothing to see here... :-) If you are trying to locate the administrator of this machineIf you want to report something about this host's behavior, please contact the Internet Service Provider (ISP) involved directly. See the Network Abuse Clearinghouse for how to do this. If you are the administrator of this machineThe initial installation of Debian's Apache web server package was successful. You should replace this page with your own web pages as soon as possible. Unless you changed its configuration, your new server is configured as follows:
More documentation on Apache can be found on:
You can also consult the list of World Wide Web Frequently Asked Questions for information. Let other people know about this serverNetcraft provides an interesting free service for web site monitoring and statistic collection. You can let them know about your server using their interface. Enabling the monitoring of your server will provide a better global overview of who is using what and where, and it would give Debian a better overview of the apache package usage.About this pageThis is a placeholder page installed by the Debian release of the Apache Web server package. This computer has installed the Debian GNU/Linux operating system, but it has nothing to do with the Debian Project. Please do not contact the Debian Project about it. If you find a bug in this Apache package, or in Apache itself, please file a bug report on it. Instructions on doing this, and the list of known bugs of this package, can be found in the Debian Bug Tracking System. Thanks for using this package, and congratulations for your choice of a Debian system! |