Re: apache 2.4.10, debian jessie, PHP 7.0.4 SWAP issue
On Tue, Apr 26, 2016 at 07:42:06PM +0200, Marek Soha wrote: > We are experiencing weird issue when we implemented this new combination of > debian+apache+PHP. > The system is serving PHP pages. It is running correctly for a quite a bit > and then start to heavily swap without any outer issue (no load spike). The > swap is not cleaning itself, only apache restart is of help in this case. > We were not experiencing this with combination of debian wheezy+apache > 2.2.22+PHP 5.5.16. > Do anybody have an idea where to look at? Please note that the PHP version alone is not enough to know what exactly you are using. For example, you could be using the Apache mod_php module (Debian package "libapache2-mod-php5") or maybe PHP-FPM (Debian package "php5-fpm"). Both are available in jessie and both are "PHP 5.6", but PHP-FPM is usually much better. BTW: Are you sure you are using jessie and PHP 7? (There is no PHP 7 in jessie).
Re: apache on debian
Rick Pasotto пишет: 3) When I (re)start apache I get the warning: apache2: Could not reliably determine the server's fully qualified domain name, using niof.net for ServerName I have several virtual sites installed, including niof.net. This error doesn't seem to be causing a problem but I'd like to get rid of the message and I don't know which config lines conflict or are wrong. Can you help? BTW, I keep up2date using 'testing'. Try to find your problem here http://www.wallpaperama.com/forums/how-to-fix-could-not-determine-the-servers-fully-qualified-domain-name-t23.html Naumov Sergey -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
After upgrading my php-cgi to 5.2.10-2.2 both apache and nginx stopped having problems. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
On Sun, 6 Sep 2009 18:21:36 -0400, Rick Pasotto in gmane.linux.debian.user wrote: On Sun, Sep 06, 2009 at 03:54:52PM -0400, S. Fishpaste wrote: On Wed, 2 Sep 2009 11:57:10 -0400, Rick Pasotto in gmane.linux.debian.user wrote: Where is the best place for me to ask questions about running apache on my debian system? For the most part everything is working fine but there are a few anomolies I'd like to get cleared up. Probably here. What's the issue(s) ? I thought I had but evidently I hit 'r' instead of 'L' so it didn't go to the list. There are three but maybe two of them are related. 1) Recently I've started to get a lot of this error: ALERT - canary mismatch on efree() - heap overflow detected (attacker Can't help you as I have no knowledge of that error. However Google has some results. You did look there right ?! http://www.google.ca/search?sourceid=chromeie=UTF-8q=Apache+User:+ALERT+-+canary+mismatch+on+efree()+-+heap+overflow+detected -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
On Wed, 2 Sep 2009 11:57:10 -0400, Rick Pasotto in gmane.linux.debian.user wrote: Where is the best place for me to ask questions about running apache on my debian system? For the most part everything is working fine but there are a few anomolies I'd like to get cleared up. Probably here. What's the issue(s) ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
On Sun, Sep 06, 2009 at 03:54:52PM -0400, S. Fishpaste wrote: On Wed, 2 Sep 2009 11:57:10 -0400, Rick Pasotto in gmane.linux.debian.user wrote: Where is the best place for me to ask questions about running apache on my debian system? For the most part everything is working fine but there are a few anomolies I'd like to get cleared up. Probably here. What's the issue(s) ? I thought I had but evidently I hit 'r' instead of 'L' so it didn't go to the list. There are three but maybe two of them are related. 1) Recently I've started to get a lot of this error: ALERT - canary mismatch on efree() - heap overflow detected (attacker '64.12.116.75', file '/var/www/org/acc-tm/index.php') Evidently all this is really telling me is that there is an error in one of the apache modules. There seems to be controversy as to whether this is really useful information since there is no clue as to *which* module is causing the problem. 2) *Sometimes* a page is not passed through the php interpreter so the browser gets a php document that it doesn't know what to do with. Canceling that error message requester and immediately trying the page again works as it should. The above two may be related. The first started a few weeks ago and the occurance of the second significantly increased recently though it did rarely happen before. 3) When I (re)start apache I get the warning: apache2: Could not reliably determine the server's fully qualified domain name, using niof.net for ServerName I have several virtual sites installed, including niof.net. This error doesn't seem to be causing a problem but I'd like to get rid of the message and I don't know which config lines conflict or are wrong. Can you help? BTW, I keep up2date using 'testing'. -- The most successful war seldom pays for its losses. -- Thomas Jefferson Rick Pasottor...@niof.nethttp://www.niof.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
1) Recently I've started to get a lot of this error: ALERT - canary mismatch on efree() - heap overflow detected (attacker '64.12.116.75', file '/var/www/org/acc-tm/index.php') 2) *Sometimes* a page is not passed through the php interpreter so the browser gets a php document that it doesn't know what to do with. Canceling that error message requester and immediately trying the page again works as it should. I've been having issues with php-cgi as a FastCGI daemon so i tried apache. I too am experiencing these two errors. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
On Wed, Sep 2, 2009 at 16:57, Rick Pasottor...@niof.net wrote: Where is the best place for me to ask questions about running apache on my debian system? For the most part everything is working fine but there are a few anomolies I'd like to get cleared up. You could start by using a search engine. If it's Apache in general, i'm sure there are lots of places. If it's Apache-Debian specific, Google told me http://lists.debian.org/debian-apache/ but don't tell anyone. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
09/02/2009 06:57 PM, Rick Pasotto:: Where is the best place for me to ask questions about running apache on my debian system? For the most part everything is working fine but there are a few anomolies I'd like to get cleared up. You could have just described what is the problem... -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche Developpement +261 34 29 155 34 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache on debian
On Wed, Sep 02, 2009 at 05:03:01PM +0100, Nuno Magalhães wrote: On Wed, Sep 2, 2009 at 16:57, Rick Pasottor...@niof.net wrote: Where is the best place for me to ask questions about running apache on my debian system? For the most part everything is working fine but there are a few anomolies I'd like to get cleared up. You could start by using a search engine. If it's Apache in general, i'm sure there are lots of places. If it's Apache-Debian specific, Google told me http://lists.debian.org/debian-apache/ but don't tell anyone. debian-apache It is neither for submitting bug reports (please use the BTS for that), nor for support requests. -- Chris. == -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: apache no debian etch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25-10-2007 08:25, Rubens de couto wrote: Prezados amigos: eu tinha comentado aqui nesta lista de discurssão sobre a instalação do servidor Web no debian etch, o apache, a respeito de qual diretorio que usamos para salvar os arquivos .html e .php. Uso em paralelo com o Debian, o Fedora core 7. Neste sistema, o diretorio para salvar arquivos web é o /var/www/html. No Debian, é o /var/www, mas pode padrão o vhost default está ativo e você é redirecionado para uma página que diz que o Apache2 funcionou. No Debian eu instalei e apareceu uma interface do Mysql Query Browser, pedindo login e senha. Isto fica em http://nome/phpmyadmin Já tem também o PHP instalado; lá está também o apache e o apache 2. Lá onde? Quando tento salvar qualquer arquivo tipo PHP, ele cria automaticamente uma pasta na area de trabalho com o nome de Downloaders e vai criando copias repetidas do mesmo arquivo. Como assim salvar qualquer arquivo tipo PHP? Peço ajuda pra fazer rodar este programa no Debian, Qual programa? pois toda vez que preciso estudar sobre este assunto, tenho que reiniciar o sistema e entrar no fedora core 7. Obs: tenho os 21 CD's do Debian etch e não tenho conexão com a internet.O que devo fazer pra este serviço rodar perfeitamente no debian etch?Grato por qualquer informação. Você já leu a documentação em /usr/share/doc/apache2* ? Você há leu a documentação básica sobr eo Apache2? Você precisa dar mais detalhes e procedimentos precisos para que possamos ajudá-lo, caso contrário, caímos no jogo da adivinhação e aí, é bem mais difícil. Abraço, - -- Felipe Augusto van de Wiel (faw) Debian. Freedom to code. Code to freedom! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHItf+CjAO0JDlykYRAopkAKCf8A4XpECjY7xqcDM6H49Kxk9x0QCglCrz vgpE3zrxllUaqm0G0yIdvAQ= =y2cI -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Apache 2 Debian 3.1 ManhatVC
Simo, My previous email was meant to be in a very jovial and joking fashion. The references to voodoo magic and forced were specifically meant this way. I find using humor relieves the stress caused by the difficulties I am having with the Linux learning curve or should I say S turns. If your desire is to have all correspondence remain solely on the Debian users list, this is fine. I will just refrain from injecting my humor of frustration Thanks, Cary Pembleton -Original Message- From: Simo Kauppi [mailto:[EMAIL PROTECTED] Sent: Sunday, August 13, 2006 1:41 AM To: debian-user@lists.debian.org Subject: Re: Apache 2 Debian 3.1 ManhatVC On Sat, Aug 12, 2006 at 02:20:11PM -0400, Cary Pembleton wrote: Simo my friend, It seems there is no other Linux Disto. this computer will allow me to install. Hmm, what voodoo magic did you perform to make this happen I wonder? I swear it's true! I have tried, Fedora 5 and Slackware 10.1, it would not install either one. So, I guess I am forced or have been coerced to sticking with Debian. Since this is the the case and I am going to be plagued with apache 2 as well, I think it is time I found the ultimate Debian Bible for the complete Debian Dumbass, or How to get Apache 2 to work Asshole. Hmm, yes both sound like they would be first rate number 1 sellers list titles. Do you have any recommendations? Perhaps you have or should written one? I would buy it in a second. Anyway I am presently reinstalling Debian. I then plan to update the kernel to 2.6. This may help matters some. Then I will try once again to follow your excellent directions. I am only going to use one domain on this box. It will be franklin.pctechhelp.net, which is actually a sub domain under my root of pctechhelp.net. Yes I have set up a new primary domain in Microsoft DNS on the Windows 2000 server ns.pctechhelp.net for franklin.pctechhelp.net with appropriate entries for Name Servers, WWW, Mail and Host. So all should be well for DNS. I will eventually use franklin.pctechhelp.net for tertiary DNS services, because I think Bind is better. Thanks. Cary Pembleton Hi, First of all sorry about my inaccurate expression. What I meant by no cc necessary is let's keep the discussion in the list, so other people can give their input as well and no need to cc me. Secondly, make sure that you can access the MVC locally (from the same host where you install it). After that you can start working on getting it visible to the LAN and internet. Thirdly, If your email client is in some kind HTML-mode, it might eat some necessary directives from this posting, because they look like HTML-tags! If you don't see anything between these quotes Directory , try to adjust your email client settings. Fourthly, no magic was used in my case. I have a Debian etch (sarge should work the same way), and these are the steps I took to get MVC up and running: Install the tools sudo apt-get install make gcc Install Apache 2 server sudo apt-get install apache2-mpm-worker The following are the steps 1-11 at http://manhattan.sourceforge.net/?Documentation:README_Files:INSTALL Add the user manhat to the system sudo adduser manhat Add the user manhat to the group www-data sudo adduser manhat www-data Login as user manhat Change the permissions of the home directory of the user manhat chmod 711 . Copy the file manhat-3.1.0.tar.gz into manhat's home directory and untar it tar xzf manhat-3.1.0.tar.gz Change to the src-directory cd manhat-3.1.0/src Copy the custom header file cp default_custom.h costom.h Edit the file custom.h Change the #define EXIT_URL http://manhattan.sf.net; to #define EXIT_URL http://www.mydomain.com/; Change the #define HTTPD_GROUP www to #define HTTPD_GROUP www-data Edit the Makefile Change the HTTPD_GROUP = www to HTTPD_GROUP = www-data Compile and install make clean make install logout user manhat Copy the file libneo.so from /home/manhat/manhat-3.1.0/lib to /usr/local/lib sudo cp /home/manhat/manhat-3.1.0/lib/libneo.so /usr/local/lib/ Edit the file /etc/ld.so.conf and add /usr/local/lib into it. sudo vim /etc/ld.so.conf Run ldconfig sudo ldconfig -v Insert manhattan.mydomain.com into the file /etc/hosts Change the Listen directive in the file /etc/apache2/ports.conf to Listen xx.yy.zz.ww:80 Create a file /etc/apache2/sites-available/manhat NOTE! Make sure that the ServerName directive matches the name in the file /etc/hosts. Remove the default link from the /etc/apache2/sites-enabled sudo rm /etc/apache2/sites-enabled/000-default Copy /etc/apache2/sites-available/default to /etc/apache2/sites-available/mydefault sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mydefault Edit the file /etc/apache2/sites-available/mydefault and change the first two lines to NameVirtualHost xx.yy.zz.ww:80 VirtualHost xx.yy.zz.ww:80 Link the files to the /etc/apache2/sites-enabled/ sudo ln -s /etc/apache2/sites-available/mydefault /etc
Re: Apache 2 Debian 3.1 ManhatVC
On Sat, Aug 12, 2006 at 02:20:11PM -0400, Cary Pembleton wrote: Simo my friend, It seems there is no other Linux Disto. this computer will allow me to install. Hmm, what voodoo magic did you perform to make this happen I wonder? I swear it's true! I have tried, Fedora 5 and Slackware 10.1, it would not install either one. So, I guess I am forced or have been coerced to sticking with Debian. Since this is the the case and I am going to be plagued with apache 2 as well, I think it is time I found the ultimate Debian Bible for the complete Debian Dumbass, or How to get Apache 2 to work Asshole. Hmm, yes both sound like they would be first rate number 1 sellers list titles. Do you have any recommendations? Perhaps you have or should written one? I would buy it in a second. Anyway I am presently reinstalling Debian. I then plan to update the kernel to 2.6. This may help matters some. Then I will try once again to follow your excellent directions. I am only going to use one domain on this box. It will be franklin.pctechhelp.net, which is actually a sub domain under my root of pctechhelp.net. Yes I have set up a new primary domain in Microsoft DNS on the Windows 2000 server ns.pctechhelp.net for franklin.pctechhelp.net with appropriate entries for Name Servers, WWW, Mail and Host. So all should be well for DNS. I will eventually use franklin.pctechhelp.net for tertiary DNS services, because I think Bind is better. Thanks. Cary Pembleton IT Consultant PC Tech Help, LLC 32 Cove Lane Campbellsville, KY 42718 (270) 789-0187 Office http://www.pctechhelp.net Hi, First of all sorry about my inaccurate expression. What I meant by no cc necessary is let's keep the discussion in the list, so other people can give their input as well and no need to cc me. Secondly, make sure that you can access the MVC locally (from the same host where you install it). After that you can start working on getting it visible to the LAN and internet. Thirdly, If your email client is in some kind HTML-mode, it might eat some necessary directives from this posting, because they look like HTML-tags! If you don't see anything between these quotes Directory , try to adjust your email client settings. Fourthly, no magic was used in my case. I have a Debian etch (sarge should work the same way), and these are the steps I took to get MVC up and running: Install the tools sudo apt-get install make gcc Install Apache 2 server sudo apt-get install apache2-mpm-worker The following are the steps 1-11 at http://manhattan.sourceforge.net/?Documentation:README_Files:INSTALL Add the user manhat to the system sudo adduser manhat Add the user manhat to the group www-data sudo adduser manhat www-data Login as user manhat Change the permissions of the home directory of the user manhat chmod 711 . Copy the file manhat-3.1.0.tar.gz into manhat's home directory and untar it tar xzf manhat-3.1.0.tar.gz Change to the src-directory cd manhat-3.1.0/src Copy the custom header file cp default_custom.h costom.h Edit the file custom.h Change the #define EXIT_URL http://manhattan.sf.net; to #define EXIT_URL http://www.mydomain.com/; Change the #define HTTPD_GROUP www to #define HTTPD_GROUP www-data Edit the Makefile Change the HTTPD_GROUP = www to HTTPD_GROUP = www-data Compile and install make clean make install logout user manhat Copy the file libneo.so from /home/manhat/manhat-3.1.0/lib to /usr/local/lib sudo cp /home/manhat/manhat-3.1.0/lib/libneo.so /usr/local/lib/ Edit the file /etc/ld.so.conf and add /usr/local/lib into it. sudo vim /etc/ld.so.conf Run ldconfig sudo ldconfig -v Insert manhattan.mydomain.com into the file /etc/hosts Change the Listen directive in the file /etc/apache2/ports.conf to Listen xx.yy.zz.ww:80 Create a file /etc/apache2/sites-available/manhat NOTE! Make sure that the ServerName directive matches the name in the file /etc/hosts. Remove the default link from the /etc/apache2/sites-enabled sudo rm /etc/apache2/sites-enabled/000-default Copy /etc/apache2/sites-available/default to /etc/apache2/sites-available/mydefault sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mydefault Edit the file /etc/apache2/sites-available/mydefault and change the first two lines to NameVirtualHost xx.yy.zz.ww:80 VirtualHost xx.yy.zz.ww:80 Link the files to the /etc/apache2/sites-enabled/ sudo ln -s /etc/apache2/sites-available/mydefault /etc/apache2/sites-enabled/000_mydefault sudo ln -s /etc/apache2/sites-available/manhat /etc/apache2/sites-enabled/010_manhat Restart the www-server sudo /etc/init.d/apache2 reload Point the browser to http://manhattan.mydomain.com/manhat-bin/doorstep Further reading: Apache has very good documentation at http://httpd.apache.org/docs/2.0/ Manhattan Virtual Classroom has its documentation at http://manhattan.sourceforge.net/?Documentation Notice especially the security issues at
Re: apache 2.0 debian sarge hosts virtuales
El Jueves, 13 de Abril de 2006 15:24, Angel Claudio Alvarez escribió: El jue, 13-04-2006 a las 11:16 +0200, Iñaki escribió: default es simplemete un ejemplo, la idea de configurar asi en Debian apache2 es crear un archivo por cada host virtual y luego linkear a sites-enabled/ los que realmente necesites Por favor, nada de linkear a mano. Usad los comandos: a2ensite a2dissite a2enmod a2dismod es como volver a nacer desde que me enteré de la existencia de esos comabdos. ??? te fijaste lo que hacen esos scriptcitos?? ln -sf bla bla bla Por supuesto, ¿qué más tendrían que hacer? a mí me parece suficiente como para recomendarlos, ya que andar borrando y añadiendo links a mano lleva el triple de tiempo. -- y hasta aquí puedo leer...
Re: apache 2.0 debian sarge hosts virtuales
El Jueves, 13 de Abril de 2006 01:31, Angel Claudio Alvarez escribió: El mié, 12-04-2006 a las 06:42 -0500, David Rios R. escribió: El Tue, Apr 11, 2006 at 02:06:06PM -0500, Argos escribió: From: Argos [EMAIL PROTECTED] To: debian-user-spanish@lists.debian.org Subject: apache 2.0 debian sarge hosts virtuales Date: Tue, 11 Apr 2006 14:06:06 -0500 User-Agent: Thunderbird 1.5 (Windows/20051201) X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,LDOSUBSCRIBER, MURPHY_RCVD_IN_SBLXBL,RCVD_IN_SORBS_DUL,UNWANTED_LANGUAGE_BODY autolea rn=no version=3.0.3 saludos,. con el debians arge usando apache 2.0 no engtiendo como configurar el apache 2.0 en el sistama, tantos archivos y directoiruos quye tiene, con fedora era soimple en un solo archivo. espero alguien me ayude. att. Hace apenas 2 días pasé de usar Apache 1.3 a Apache 2.0 y, de acuerdo con lo que pude observar, la configuración no está centralizada en un solo archivo como ocurría con la versión 1.3. Si lo que deseas es configurar los VirtualHost, encontrarás que el archivo /etc/apache2/sites-available/default es el indicado default es simplemete un ejemplo, la idea de configurar asi en Debian apache2 es crear un archivo por cada host virtual y luego linkear a sites-enabled/ los que realmente necesites Por favor, nada de linkear a mano. Usad los comandos: a2ensite a2dissite a2enmod a2dismod es como volver a nacer desde que me enteré de la existencia de esos comabdos. -- y hasta aquí puedo leer...
Re: apache 2.0 debian sarge hosts virtuales
El jue, 13-04-2006 a las 11:16 +0200, Iñaki escribió: El Jueves, 13 de Abril de 2006 01:31, Angel Claudio Alvarez escribió: El mié, 12-04-2006 a las 06:42 -0500, David Rios R. escribió: El Tue, Apr 11, 2006 at 02:06:06PM -0500, Argos escribió: From: Argos [EMAIL PROTECTED] To: debian-user-spanish@lists.debian.org Subject: apache 2.0 debian sarge hosts virtuales Date: Tue, 11 Apr 2006 14:06:06 -0500 User-Agent: Thunderbird 1.5 (Windows/20051201) X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,LDOSUBSCRIBER, MURPHY_RCVD_IN_SBLXBL,RCVD_IN_SORBS_DUL,UNWANTED_LANGUAGE_BODY autolea rn=no version=3.0.3 saludos,. con el debians arge usando apache 2.0 no engtiendo como configurar el apache 2.0 en el sistama, tantos archivos y directoiruos quye tiene, con fedora era soimple en un solo archivo. espero alguien me ayude. att. Hace apenas 2 días pasé de usar Apache 1.3 a Apache 2.0 y, de acuerdo con lo que pude observar, la configuración no está centralizada en un solo archivo como ocurría con la versión 1.3. Si lo que deseas es configurar los VirtualHost, encontrarás que el archivo /etc/apache2/sites-available/default es el indicado default es simplemete un ejemplo, la idea de configurar asi en Debian apache2 es crear un archivo por cada host virtual y luego linkear a sites-enabled/ los que realmente necesites Por favor, nada de linkear a mano. Usad los comandos: a2ensite a2dissite a2enmod a2dismod es como volver a nacer desde que me enteré de la existencia de esos comabdos. ??? te fijaste lo que hacen esos scriptcitos?? ln -sf bla bla bla -- Angel Claudio Alvarez Usuario Linux Registrado 143466 GPG Public Key en http://pgp.mit.edu key fingerprint = 3AED D95B 7E2D E954 61C8 F505 1884 473C FC8C 8AC4 signature.asc Description: Esta parte del mensaje está firmada digitalmente
Re: apache 2.0 debian sarge hosts virtuales
El Tue, Apr 11, 2006 at 02:06:06PM -0500, Argos escribió: From: Argos [EMAIL PROTECTED] To: debian-user-spanish@lists.debian.org Subject: apache 2.0 debian sarge hosts virtuales Date: Tue, 11 Apr 2006 14:06:06 -0500 User-Agent: Thunderbird 1.5 (Windows/20051201) X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,LDOSUBSCRIBER, MURPHY_RCVD_IN_SBLXBL,RCVD_IN_SORBS_DUL,UNWANTED_LANGUAGE_BODY autolearn=no version=3.0.3 saludos,. con el debians arge usando apache 2.0 no engtiendo como configurar el apache 2.0 en el sistama, tantos archivos y directoiruos quye tiene, con fedora era soimple en un solo archivo. espero alguien me ayude. att. Hace apenas 2 días pasé de usar Apache 1.3 a Apache 2.0 y, de acuerdo con lo que pude observar, la configuración no está centralizada en un solo archivo como ocurría con la versión 1.3. Si lo que deseas es configurar los VirtualHost, encontrarás que el archivo /etc/apache2/sites-available/default es el indicado paul criollo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- David Rios R. driosr{at}epm{dot}net{dot}co signature.asc Description: Digital signature
Re: apache 2.0 debian sarge hosts virtuales
saludos,. con el debians arge usando apache 2.0 no engtiendo como configurar el apache 2.0 en el sistama, tantos archivos y directoiruos quye tiene, con fedora era soimple en un solo archivo. espero alguien me ayude. att. $less /etc/apache2/README Alli esta: que contienen los archivos y directorios de /etc/apache2 Sigue el consejo de Iñaki... revisa la documentación. Saludos -- # José Andrés Viana Valencia - Venezuela Debian GNU/Linux 3.1 Linux Counter #396792 #
Re: apache 2.0 debian sarge hosts virtuales
El mié, 12-04-2006 a las 06:42 -0500, David Rios R. escribió: El Tue, Apr 11, 2006 at 02:06:06PM -0500, Argos escribió: From: Argos [EMAIL PROTECTED] To: debian-user-spanish@lists.debian.org Subject: apache 2.0 debian sarge hosts virtuales Date: Tue, 11 Apr 2006 14:06:06 -0500 User-Agent: Thunderbird 1.5 (Windows/20051201) X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,LDOSUBSCRIBER, MURPHY_RCVD_IN_SBLXBL,RCVD_IN_SORBS_DUL,UNWANTED_LANGUAGE_BODY autolearn=no version=3.0.3 saludos,. con el debians arge usando apache 2.0 no engtiendo como configurar el apache 2.0 en el sistama, tantos archivos y directoiruos quye tiene, con fedora era soimple en un solo archivo. espero alguien me ayude. att. Hace apenas 2 días pasé de usar Apache 1.3 a Apache 2.0 y, de acuerdo con lo que pude observar, la configuración no está centralizada en un solo archivo como ocurría con la versión 1.3. Si lo que deseas es configurar los VirtualHost, encontrarás que el archivo /etc/apache2/sites-available/default es el indicado default es simplemete un ejemplo, la idea de configurar asi en Debian apache2 es crear un archivo por cada host virtual y luego linkear a sites-enabled/ los que realmente necesites paul criollo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Angel Claudio Alvarez Usuario Linux Registrado 143466 GPG Public Key en http://pgp.mit.edu key fingerprint = 3AED D95B 7E2D E954 61C8 F505 1884 473C FC8C 8AC4 signature.asc Description: Esta parte del mensaje está firmada digitalmente
Re: apache 2.0 debian sarge hosts virtuales
El Martes, 11 de Abril de 2006 21:06, Argos escribió: saludos,. con el debians arge usando apache 2.0 no engtiendo como configurar el apache 2.0 en el sistama, tantos archivos y directoiruos quye tiene, con fedora era soimple en un solo archivo. espero alguien me ayude. ¿Te has leído la documentación o pretendes configurar Apache a las bravas? ;) http://httpd.apache.org/docs/2.1/ -- y hasta aquí puedo leer...
Re: Apache auf Debian 3.1 - Zugangsbeschrnkung
Hallo Phillip, Phillip R., 14.12.2004 (d.m.y): Die Dokumentation für den Apache Webserver, zumindest was den Bereich Zugangsbeschränkung angeht, ist für mich unverständlich. Es ist eigentlich ganz einfach. Mit folgenden Zeilen schraenkst Du den Zugriff auf /Verzeichnis auf autoroisierte Benutzer ein: Directory /Verzeichnis # Generelle Zugriffsbeschraenkungen werden durch # die Autorisierung der Benutzer ueberschrieben AllowOverride AuthConfig # Generell Zugriff verbieten: Order deny,allow Deny from all # Und jetzt die Authentifizierungsparameter festlegen: ## Authentifizierungstyp ist Basic: AuthType Basic ## Der Name, der ueber dem Passworteingabefenster stehen soll: AuthName Anmeldung auf server.somain.tld ## Wo liegt die mit htpasswd erstellte Datei? AuthUserFile /var/www/.htpasswd ## Nur valid users ehalten Zutritt: Require valid-user /Directory Man kann das natuerlich noch beliebig ausbauen, z.B. mit freiem Zugang von bestimmten Rechnern, htdigest-Authentifizierung etc. Viel Spass beim Ausprobieren! Gruss, Christian Schmidt -- Rettet dem Dativ! Versucht's nicht mit den Akkusativ! signature.asc Description: Digital signature
Re: apache en debian con PHP, PERL y SSL¿Cómo?
Carlos Aguirre escribió:: From: Ekeko [EMAIL PROTECTED] Date: 04 Jan 2003 01:25:43 -0300 apt-get install apache-ssl apache-perl php4 de lo que falte se encargará apt. te recomiendo: man apt-cache Hola, antes de nada: muchas gracias Hice el apt-get install que me indicastes y (tocando un poco el httpd.conf) he conseguido tener apache con php y ssl. Eso si, perl no me funciona. aunque en error_log dice esto: # tail -f /var/log/apache-perl/error_log [Sat Jan 4 13:41:53 2003] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.2.3 mod_perl/1.27 configured -- resuming normal operations [Sat Jan 4 13:41:53 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Sat Jan 4 13:41:53 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) Es decir, si que parece que lo cargue. Pero cuando intento ejecutar un script en perl (con permisos de ejecucion) no funciona, me visualiza el codigo. También he probado a poner el script en /usr/lib/cgi-bin y ver era problema de que los scripts han de estar en ese directorio, pero tampoco no me ha ido :( ¿Tal vez es que el script en perl que he usado (#!/usr/bin/perl ; print hola\n;) no es válido para cargar en apache? ¿O hay que meter los scripts en algun directorio especial? Me parece que tenés que leer cómo se hace la escritura de cgis, si no me equivoco el script debe estar en /usr/lib/cgi, tener permisos de ejecución para www-data (el usuario que corre el Apache) y para que te escriba algo por la pantalla del browser tenés que indicarle el tipo mime. Te aconcejo que te leas la documentación del módulo perl para CGI. Bueno, y dejando un lado el problema con el modulo de perl. Al hacer el apt-get install que me has dicho, parece que tenga dos servidores apache, pues debo de lanzar dos: # /etc/init.d/apache-perl start # /etc/init.d/apache-ssl start se supone que una vez que instalaste el Apache mediante el deb, se lanza solo y no tenés que ejecutarlos vos. # ls /var/log/ |grep apache drwxr-xr-x2 root root 4.0K Jan 4 12:48 apache-perl/ drwxr-xr-x2 root root 4.0K Jan 4 12:19 apache-ssl/ # ls /etc/ |grep apache drwxr-xr-x2 root root 4.0K Jan 4 13:52 apache/ drwxr-xr-x2 root root 4.0K Jan 4 12:47 apache-perl/ drwxr-xr-x2 root root 4.0K Jan 4 12:33 apache-ssl/ # ps auxf |grep apache root 599 0.0 0.4 138312 140 ?S13:48 0:00 /usr/sbin/apache-perl www-data 600 0.0 0.3 138364 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 601 0.0 0.3 138364 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 602 0.0 0.3 138784 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 603 0.0 0.3 138364 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 604 0.0 0.3 138324 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 605 0.0 0.3 138324 112 ?S13:49 0:00 \_ /usr/sbin/apache-perl www-data 606 0.0 0.3 138324 112 ?S13:49 0:00 \_ /usr/sbin/apache-perl www-data 607 0.0 0.3 138324 112 ?S13:49 0:00 \_ /usr/sbin/apache-perl root 647 0.0 16.7 139340 4980 ? S13:57 0:01 /usr/sbin/apache-ssl www-data 648 0.0 2.6 2896 784 ?S13:57 0:00 \_ /usr/lib/apache-ssl/gcache 33 /var/run/gcache_port www-data 649 0.0 17.8 139488 5316 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 650 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 651 0.0 17.4 139468 5192 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 652 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 653 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 654 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 655 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 656 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl ¿Es esto normal? Nuevamente gracias por la ayuda :) Y respecto al man apt-cache, ya tengo el APT Howto en mi poder (eso si, no lo he encontrado en formato pdf/ps :( ). Aunque no soy novicio en Linux, si lo soy en Debian, así que todavía me queda mucha documentación al respecto para leer :) Un saludo _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- Héctor Andrés Rompato Carricart [EMAIL PROTECTED] COVIARES/COVIMET Departamento de equipos de peaje Av. España y Autopista, Quilmes (1878) Buenos Aires, Argentina
Re: apache en debian con PHP, PERL y SSL¿Cómo?
From: Ekeko [EMAIL PROTECTED] Date: 04 Jan 2003 01:25:43 -0300 apt-get install apache-ssl apache-perl php4 de lo que falte se encargará apt. te recomiendo: man apt-cache Hola, antes de nada: muchas gracias Hice el apt-get install que me indicastes y (tocando un poco el httpd.conf) he conseguido tener apache con php y ssl. Eso si, perl no me funciona. aunque en error_log dice esto: # tail -f /var/log/apache-perl/error_log [Sat Jan 4 13:41:53 2003] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.2.3 mod_perl/1.27 configured -- resuming normal operations [Sat Jan 4 13:41:53 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Sat Jan 4 13:41:53 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) Es decir, si que parece que lo cargue. Pero cuando intento ejecutar un script en perl (con permisos de ejecucion) no funciona, me visualiza el codigo. También he probado a poner el script en /usr/lib/cgi-bin y ver era problema de que los scripts han de estar en ese directorio, pero tampoco no me ha ido :( ¿Tal vez es que el script en perl que he usado (#!/usr/bin/perl ; print hola\n;) no es válido para cargar en apache? ¿O hay que meter los scripts en algun directorio especial? Bueno, y dejando un lado el problema con el modulo de perl. Al hacer el apt-get install que me has dicho, parece que tenga dos servidores apache, pues debo de lanzar dos: # /etc/init.d/apache-perl start # /etc/init.d/apache-ssl start # ls /var/log/ |grep apache drwxr-xr-x2 root root 4.0K Jan 4 12:48 apache-perl/ drwxr-xr-x2 root root 4.0K Jan 4 12:19 apache-ssl/ # ls /etc/ |grep apache drwxr-xr-x2 root root 4.0K Jan 4 13:52 apache/ drwxr-xr-x2 root root 4.0K Jan 4 12:47 apache-perl/ drwxr-xr-x2 root root 4.0K Jan 4 12:33 apache-ssl/ # ps auxf |grep apache root 599 0.0 0.4 138312 140 ?S13:48 0:00 /usr/sbin/apache-perl www-data 600 0.0 0.3 138364 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 601 0.0 0.3 138364 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 602 0.0 0.3 138784 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 603 0.0 0.3 138364 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 604 0.0 0.3 138324 112 ?S13:48 0:00 \_ /usr/sbin/apache-perl www-data 605 0.0 0.3 138324 112 ?S13:49 0:00 \_ /usr/sbin/apache-perl www-data 606 0.0 0.3 138324 112 ?S13:49 0:00 \_ /usr/sbin/apache-perl www-data 607 0.0 0.3 138324 112 ?S13:49 0:00 \_ /usr/sbin/apache-perl root 647 0.0 16.7 139340 4980 ? S13:57 0:01 /usr/sbin/apache-ssl www-data 648 0.0 2.6 2896 784 ?S13:57 0:00 \_ /usr/lib/apache-ssl/gcache 33 /var/run/gcache_port www-data 649 0.0 17.8 139488 5316 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 650 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 651 0.0 17.4 139468 5192 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 652 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 653 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 654 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 655 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl www-data 656 0.0 16.8 139356 5004 ? S13:57 0:00 \_ /usr/sbin/apache-ssl ¿Es esto normal? Nuevamente gracias por la ayuda :) Y respecto al man apt-cache, ya tengo el APT Howto en mi poder (eso si, no lo he encontrado en formato pdf/ps :( ). Aunque no soy novicio en Linux, si lo soy en Debian, así que todavía me queda mucha documentación al respecto para leer :) Un saludo _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: apache en debian con PHP, PERL y SSL ¿Cómo?
apt-get install apache-ssl apache-perl php4 de lo que falte se encargará apt. te recomiendo: man apt-cache El vie, 03-01-2003 a las 22:21, sa fgsg escribió: Hola señores/as del foro. Veréis, tengo instalada una Debian 3.0 unstable/testing y me gustaria instalar Apache como servidor web. El caso es que me gustaría tenerlo instalado con los módulos mod_perl, mod_php y mod_ssl funcionando y verdaderamente no se muy bien como hacerlo. Alguien tiene apache con estas características funcionando en su debian, que paquetes deberia de instalar? ¿Existe algún orden para ello? Gracias adelantadas a cualquier solucion/sugerencia que me podáis dar. Un saludo para todos/as y, como no, feliz año nuevo también :) _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache on Debian - high loads?
On Mon, Mar 04, 2002 at 10:49:36AM +0200, George Karaolides wrote: Hi all, Does anyone have experience of running Apache on Debian successfully with high loads? Define High. I've been asked about the possibility of running a webserver with up to five thousand concurrent users. I would, of course, prefer to do it with Apache on Debian. Would Debian be up to the task? Any pointers on what I have to look out for? HTTP is a stateless protocall, and as such doesn't *really* have the concept of concurrent users as such. It has concurrent connections, but as it's stateless, those connections may or may not map to a given user. You're not likely to see 5000 users connecting all at once. Ok, we've got that bit out of the way, on to the next bit. There's not going to be a significant difference in preformance--all things being equal--between a Debian/Redhat/Slackware/Fooblatz distribution, as they are using the same software (more or less) underneath (yes, you may see a 3-5% difference on specific hardware because of compiler optimizations etc.) and because if you're looking at massively loaded systems, you're going to customize bits of the software anyway (if your looking at that many users, you're either doing something domain-specific, which equals custom code, or you're serving porn). To answer your question in a very short way, yes, debian+apache will handle it. The question is how. Will one machine handle it? Well, that depends on a lot of other factors: 1) Static content vs. dynamic content. a) If dynamic, is the web server the front end to a multi-tiered system, or is everything running on one box. 2) The machine: There is a significant performance delta between a 1CPU PIII500 with 10 Gig ATA33 IDE drive, a 10bT card, 128 meg of ram running a competely stock kitchen sync install, and a dual CPU PIII 1.2 Ghz with 4 100bT ports, 2 gig of ram, a 1Terabyte FCAL RAID with a carefully tuned install--this delta could be three orders of magnitude difference in real term. Then we get into clustering--If you're going to be serving that much traffic, it makes sense for lots of reasons not to have a box, but rather serveral boxes to distribute the load across (this also lets you handle hardware outages gracefully etc). This is not a simple question and the answers are even more difficult. -- Share and Enjoy.
Re: Apache 1.3.22 + Debian 2.2 + SSI PROBLEM
W Wed, Dec 05, 2001 at 03:03:01PM +0100, Adam Jurkiewicz wystukał(-a): Serwer jak w temacie, apache skompilowany w taki sposob : ../configure --prefix=/usr/local/apache --enable-module=vhost_alias --sysconfdir=/etc/apache --datadir=/var/www --logfiledir=/var/log/apache --enable-module=include --enable-module=info ; 1. httpd.conf - tu mam wpis : AddType text/html .shtml AddHandler server-parsed .shtml Options +Includes uaktywniony moduł mod_include ? to tez jest DirectoryIndex index.shtml ? samo Includes moze pomoze ? skoro wszystko powyższe jest to nie mam pojecia :( -- -[ Woody - 2.2.20-ow1 ]- Why use Windows, since there is a door? --[ MujLinux.prv.pl - locked ]--
Re: apache on debian frozen!
thx for your help! -- cu thomas PGP DSS Key fingerprint = B4 9F 55 F6 D4 5D 0F 31 95 8E E0 8C 1E 9F 49 E1 23 5D 8C 3D # # # Linux is like a Wigwam: Thomas Braun# # No Gates, no Fences and Hammer GmbH Co. KG# # an Apache inside ! :-) Charlottenburger Allee 33 # # --- 52068 Aachen# # Tel: +49(0)241-9665-188 # # Fax: +49(0)241-9665-189 #
Re: apache on debian frozen!
On Tue, May 23, 2000 at 04:51:52PM +0200, Thomas Braun wrote: hello group i use the htpasswd from apache for my squid password list with ncsa_auth authentication ! my password is 9 characters long but if i typed only 8 it is ssuccessful ! htpasswd in apache by default creates crypt password hashes, these hashes can only hold 8 character passwords, anything more is simply discarded. you might be able to use md5 hashes instead of crypt, then you could have 128 char passwords (i think thats right) is this a bug or can squid only handle 8 characters? i am not sure about squid specifically, but i think your problem is the hash your using to encode the passwords. -- Ethan Benson http://www.alaska.net/~erbenson/ pgpXRkZS74K5O.pgp Description: PGP signature
Re: apache on debian
-BEGIN PGP SIGNED MESSAGE- Hello Rudolf! On Mon, 4 May 1998, Rudolf Buergin wrote: I have linux ver. 2.0.31 and apache 1.2.5 the apache server is running but i can not browse the apache. ping is ok try to give us more info, for instance stop and start the service and show us the output: /etc/init.d/apache stop /etc/init.d/apache start Other thinks that can be useful to look are: try to find error messages in /var/log/apache/* netstat lsof -i lsof -v I hope this helps, Regards, Ulisses - - Computers are useless. They can only give answers.Pablo Picasso -BEGIN PGP SIGNATURE- Version: 2.6.3a Charset: latin1 Comment: PGP public key avaliable at http://www.rediris.es/cert/keyserver iQB1AwUBNU24eA/N+5+NQ63pAQH7hQL+Kouh+k/mz5/9V4x/vTqgsretEe+FKdlN XAYx/vDyFm1w7EsUyU0defuYKakz8PmwJn1soucPKx4aQ+cD/XtvY2vvMlgQnqau nGTbAmyulQ1O53UEJF4tuo2KTyCjadfv =worE -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]