Re: [users@httpd] How do I choose the best settings for the Apache Server?
You'll want to make sure you're using the event mpm, in any case. It should run well under 500MB even with thousands of workers. If php or another dynamic language is involved, then the answer will depend on what you use. You should also consider if other services use RAM, such as a rdbms. On Wed, Sep 13, 2023 at 8:52 AM Jason Long wrote: > Hello, > My server has 6 GB RAM and 4 virtual CPUs. I want to know How can I change > the following settings for better performance? > > > Timeout 45 > KeepAlive On > MaxKeepAliveRequests 100 > KeepAliveTimeout 15 > > > StartServers 3 > MinSpareServers 3 > MaxSpareServers3 > ServerLimit 50 > MaxClients50 > MaxRequestsPerChild 1000 > > > > StartServers 3 > MaxClients50 > MinSpareThreads 3 > MaxSpareThreads3 > ThreadsPerChild 25 > MaxRequestsPerChild 1000 > > > > I'm thankful if anyone can guide me to choose the above settings according > to my server hardware specifications. If you know of other settings, please > share. > > > Thank you. > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [users@httpd] Re: FAQ?
Actually, we locked down the httpd wiki because of spam in the past. However, I can add anyone to the contributor list should they wish to add or edit content. Frank On Mon, Nov 16, 2015 at 11:01 AM, William A Rowe Jrwrote: > On Sun, Nov 15, 2015 at 11:09 AM, yousuf sharief > wrote: > >> Hi All, >> >> Please share the FAQ's to update my skills on Apache. >> > > At this time there isn't an actively maintained FAQ, but the historical > one is editable at http://wiki.apache.org/httpd/FAQ > > If folks on users@ wanted to start maintaining and updating this more > frequently, it might be helpful for the users community. > > >
Re: [users@httpd] Apache 2.4 This webpage has a redirect loop
Your second rule is mostly abusing mod_rewrite - you should use FallbackResource instead, or just add a RewriteCond before the rule to prevent loops in the per directory context. Frank On Wed, Dec 31, 2014 at 1:45 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, OK so I have a website that's entering a re-direct loop that prevents the site from working. The site's default behavior is to go from / to site/universalpictures. And from there it enters the redirect loop and stops working. Here's the vhost for the site in question: VirtualHost *:80 DocumentRoot /var/www/qa/launchpadnew/site ServerName launchpadnew.upqa.com ServerAlias launchpad2.upqa.com test-launchpad.upqa.com Directory /var/www/qa/launchpadnew/site Options -Indexes +FollowSymLinks -MultiViews -Includes -ExecCGI #Options +Indexes +FollowSymLinks +MultiViews +Includes +ExecCGI AllowOverride All Order deny,allow Deny from all AuthType Basic AuthName UPQA AuthUserFile /var/www/qa/etc/http.passwd AuthGroupFile /var/www/qa/launchpadnew/conf/groups require valid-user satisfy any /Directory /VirtualHost From there the site encounters an .htaccess file that has the following in it: php_flag zlib.output_compression off php_flag magic_quotes_gpc off AddOutputFilter INCLUDES .html AddOutputFilter INCLUDES .htm AddHandler cgi-script .pl AddHandler php5-script php RewriteEngine on RewriteRule ^new$ new_site.php [QSA,L] RewriteRule ^site/(.*)$ edit_site.php?site=$1 [QSA,L] The only errors I see in the logs are this one, repeating over and over again: [Wed Dec 31 11:43:06.174003 2014] [:error] [pid 9053:tid 47022521411904] [client64.210.199.232:64956] PHP Notice: Undefined index: action in /var/www/qa/launchpadnew/site/edit_site_ajax.php on line 43, referer: http://launchpadnew.upqa.com/site/Firstsite However I'm not sure if that pertains to the error I'm experiencing. If it's of any use, line 43 from that eror log starts at the switch statement in the following: //echo POST:.$_POST['action']; switch ($_POST['action']) { case 'deployFiles': I'd appreciate any advice you may have in correcting this problem! Thanks, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Re: [users@httpd] Apache 2.4 optimisation for a virtual server with low resources.
Perhaps a constructive answer would help the original poster here. Since your bottleneck is the lack of actual RAM, then I would recommend using a threaded mpm like event, which will allow you to support far more clients with less resources. With 2.4, you can simply load the appropriate mpm with the LoadModule directive. As for php support, I recommend using mod_proxy_fcgi to translate requests to a php-fpm pool. See the recipes on http://wiki.apache.org/httpd/PHP-FPM As a ballpark figure, you can probably get away with two three httpd processes using 5-7 MB of RAM each, and dedicate the remainder of your free resources to php-fpm. Frank On Mon, Aug 11, 2014 at 7:28 PM, Pablo Garcia Melga mal...@gmail.com wrote: Robin, I haven't tested on 2.4, but done many times on 2.2 and 1.3, I would compile it myself, just using the mods you need, and after that I would stripe the symbols to make the binary even smaller. Hope it helps Regards, Pablo On Mon, Aug 11, 2014 at 7:42 PM, Robin de Haan robin.deh...@gmail.com wrote: Hi, I'm a web designer setting up a server for the first time using a very light Linode package with 1GB RAM and 1 CPU. It will host a Drupal site that gets low traffic. It's running Ubuntu 14.04 and Apache 2.4.7. I'm following their set up guide here: https://www.linode.com/docs/websites/hosting-a-website/ which suggests editing apache2.conf with the following: IfModule mpm_prefork_module StartServers 2 MinSpareServers 6 MaxSpareServers 12 MaxClients 80 MaxRequestsPerChild 3000 /IfModule When I couldn't find anything like that code in the .conf file I checked with Linode support and was told that, from Apache 2.4 This section is built-in now and not included in the apache2.conf but when I asked how then to optimize Apache for a light server a different support person got back to me and said I could just add that code to the end of the .conf file. I'm posting here hoping a specialist can clear this up or advise an alternative way to optimise Apache for this kind of server. Thanks, Robin
Re: [users@httpd] Re: Apache 2.4 PHP 5.5
D'arcy, Those are actually erroneous responses. You do not need mod_php to serve php content; that's the legacy approach. Also, AddType should never be used for dynamic content. The purpose of that directive is to change the content type for static files. Nowadays, you can use fcgi and even php-fpm as a fcgi backend, and those solutions perform far better. Please see http://wiki.apache.org/httpd/php for recipes on the various configuration options. On Thu, Aug 7, 2014 at 9:59 AM, D'Arcy J.M. Cain da...@vex.net wrote: On Thu, 7 Aug 2014 06:42:31 -0700 motty cruz motty.c...@gmail.com wrote: I am not getting anything similar to the example you have, I get a blank page, (using chrome) then I get file download Sounds like one of three things. 1. You have not built the PHP Apache module. How to do this depends on the system that you are using. 2. You have built but have not installed the PHP Apache module. Run httpd with the -M option (as well as any other options that you normally use) to see if this is the case. Search for LoadModule for instructions on loading it. 2. If the module is loaded then you may not have added php file types. Search for AddType if that is the case. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Order of applicatoin of sites-enabled configs
Bad idea. Use the default vhost behaviour to define what vhost will be used for unknown hostnames not matching any ServerName / ServerAlias directive. The default *:80 vhost must be defined first. You can even use ServerName ip or ServerName random hostname in the default vhost. Frank On Wed, Aug 6, 2014 at 11:58 AM, M Busche spammymat...@yahoo.com.invalid wrote: Ooops! Somehow I missed the in alphabetical order the first time I read that. Thanks for making me read that again! After playing with this last night, it looks to me like Apache stops as soon as it finds a virtual host with a matching ServerName (or ServerAlias). In my case I have two VirtualHosts the first for my official website name (ServerName www.mattbusche.org) and the second (my default) has no ServerName entry, but uses a ServerAlias * to match everything else and includes a Redirect www.mattbusche.org to send all requests through such non-standard names back to the official name for my website, www.mattbusche.org. In that way requests to both mattbusche.org and 75.70.80.142 get directed back to www.mattbusche.org. But to get it to work, I had to rename the default config so it was named alphabetically AFTER my main config. For this reason I find the choice of numbering the default config with 000 strange, since you can't number anything before that, but (at least in my case and I would presume in most cases) you want a default to be chosen last. I was getting an infinite redirect until I renamed the default configuration 999-default.conf. Here are my actual working conf files: 100-www.mattbusche.org.conf: VirtualHost *:80 ServerName www.mattbusche.org ServerAdmin [my email address] DocumentRoot /var/www ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost 999-default.conf: VirtualHost *:80 ServerAlias * Redirect permanent / http://www.mattbusche.org/ /VirtualHost This is what worked for me. Am I missing something? Or am I using the system in dark and twisted ways that would make good church-going apache experts faint? BTW, I haven't made this change on my live server yet -- this is all on my test environment -- so don't be befuddled if you don't see my live machine redirecting as I claim here. Thanks, Matt On Wednesday, August 6, 2014 5:08 AM, Eric Covener cove...@gmail.com wrote: On Wed, Aug 6, 2014 at 5:20 AM, M Busche spammymat...@yahoo.com.invalid wrote: Hi, I notice that the default virtual host configuration file name is 000-default.conf. I presume the convention of starting virtual host configuration file names with a three digit number governs the order in which the configurations are applied. Can someone point me to the apache docs web page that explains this? This is a layout determined by whoever packaged your server and created your default configuration. Check out their README. It just boils down to the Include directive: http://httpd.apache.org/docs/2.2/mod/core.html#include - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] suphp
On Thu, Sep 26, 2013 at 8:55 AM, Pol Hallen apach...@fuckaround.org wrote: Howdy :-) Does suphp supports cgi scripts? If yes, how? I've done a long searching but I didn't found any howto or tips to do this. Any idea? Thanks! Pol - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Pol, suphp being a third-party module, you should consult the official website for that product. It may have a mailing list, IRC channel or forum you can use instead.
Re: [users@httpd] Re: two name-based virtual hosts does not work
On Fri, Jul 1, 2011 at 10:36 AM, Markus Feldmann feldmann_mar...@gmx.de wrote: Am 01.07.2011 15:40, schrieb Igor Cicimov: How did you set the sub domain test.feldland.dyndns.org http://test.feldland.dyndns.org/ to go to your server? Looks definitely like DNS issue nothing to do with apache. Very easy to confirm: Hi, I thought Apache will do this for me? Or i could setup Apache to do this for me? As you can see in my Apache-configs, i did not setup feldland.dyndns.org, but test and www..., so why does he can resolve feldland.dyndns.org and do i need DNS to solve my problem or only Apache? regards Markus - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Markus, DNS resolution is definitely outside the scope of apache httpd. You must ensure that each value of ServerName and ServerAlias resolves to the IP of your server. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] userdirs inaccessible after upgrade
On Sun, May 1, 2011 at 4:32 PM, Yehuda Katz yeh...@ymkatz.net wrote: On Sun, May 1, 2011 at 3:29 PM, Allen Seelye alleni...@gmail.com wrote: I upgraded from ubuntu 9.10 to 10.10. Now my userdirs are inaccessible. The access log reads: - GET /~user HTTP/1.1 403 506 - - The error log shows this error: - (13)Permission denied: access to /~user denied - There have been many reports of problems with this. Post 3 here may have something for you to start with. It can also be caused by home directory encryption: http://ubuntuforums.org/showthread.php?p=9868230. - Yehuda See http://wiki.apache.org/httpd/13PermissionDenied Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] URL Rewrite
On Wed, Apr 20, 2011 at 7:07 AM, Rod Behr rod.b...@impact-europe.com wrote: Hi New to Apache, but learning fast. Knocks IIS into a cocked hat, but I have a newbie question: I have looked through the documentation and examples for the mod_rewrite module and although I think my request is simple, I cannot find the solution to it in either this documentation or the “Practical Solutions to Common Problems” section. Google throws me back to these same pages. I want my browser to display only the root canonical URL while browsing: http://www.mydomain.com. Whatever is contained in the URL or querystring following this should not appear in the browser window. So http://www.mydomain.com/index.pl or http://www.mydomain.com/app/subapp/file.extension?var=somethinganothervar=somethingelse should both simply show http://www.mydomain.com in the browser window. The iFrame solution works to a point, but that still reveals the filename containing the iFrame – I want this hidden also. Simple, I know, but search as I might… Many thanks for the assist! Rod Rod Behr Software Design Manager ( +44 (0) 1932 733 849 (Impact) | +44 (0) 7976 112 442 (mobile) | +44 (0) 1932 733 700 (switchboard) Impact | Europe House, 170 Windmill Road West, Sunbury-on-Thames, Middlesex, TW16 7HB www.impact-europe.com | rod.b...@impact-europe.com www.global-presence.org P TRAVEL LESS | VIDEOCONFERENCE MORE | IT WON'T COST THE EARTH Impact Marcom Ltd trading as Impact | Registered in England No. 1166286. Registered Address: Europe House, 170 Windmill Road West, Sunbury-on-Thames, Middlesex, TW16 7HB The information contained in this message is intended only for the recipient, and may be privileged, confidential and/or protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. Impact Marcom Ltd reserves the right, subject to applicable local law, to monitor and review the content of any electronic message or information sent to or from Impact Marcom Ltd employee e-mail addresses without informing the sender or recipient of the message. See http://httpd.apache.org/docs/trunk/rewrite/remapping.html#canonicalhost Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache Hash Integrity .war
On Wed, Apr 6, 2011 at 8:18 AM, Sebastian Biedermann biederm...@seceng.informatik.tu-darmstadt.de wrote: Dear List, I´m searching for a integrity measurement module for apache tomcat which makes a hash (e.g. sha1) from each *.war file before starting/employing it. Can anyone give me a hint? Thank you! Sebastian - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org You could try asking the apache tomcat mailing list, of course. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Re: Re: wildcard domains do not [MORE] work
On Sun, Apr 3, 2011 at 4:04 PM, Eric Covener cove...@gmail.com wrote: The server has clearly send Content-Type: application/x-httpd-php and I do not know WHY, because the rewritten DOCROOT are the only one, where it happen. All other VHosts do it right and Content-Type: text/html is send. Only anything in /home/*/pubic_html is screwed. Hard to guess why without seeing in what context you've set PHP-related directives. Have you tried the SetHandler stanza in the FAQ? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org IIRC, the debian devs took it upon themselves to 'disable' mod_php in user directories (mod_userdir) recently, with some php_ directive. See the mod_php docs. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Tomcat hangs while stopping - bug48470
On Wed, Mar 16, 2011 at 8:28 AM, Shekhar Chaudhary shekhar.chaudh...@cairnindia.com wrote: I have read these mailing list here only. -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: 16 March 2011 17:43 To: users@httpd.apache.org Subject: Re: [users@httpd] Tomcat hangs while stopping - bug48470 On Wed, Mar 16, 2011 at 2:48 AM, Shekhar Chaudhary shekhar.chaudh...@cairnindia.com wrote: Hi Experts, Can anyone please tell me how to install/configure patches in apache tomcat application server. Probably lots of people on the Apache Tomcat mailing list. http://tomcat.apache.org/lists.html - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Please do not print this email unless it is absolutely necessary. This email contains privileged and/or confidential information and is meant for the named recipient(s) only. Please be aware that if you enter into email correspondence with Cairn India Limited, its subsidiary Cairn Energy India Pty Limited or any of its other subsidiaries (collectively referred to as the Cairn India Group) this communication may be subject to monitoring and all emails will be stored in archives. If you are not a named recipient you should neither copy nor distribute this email nor disclose its contents to any person. If you have received this email in error, please notify the sender immediately by way of a return email or telephone +91 124 414 1360 and then delete it from your system. The views, opinions, and judgments expressed in this email are solely those of the author. The contents of this email have not been reviewed or approved by any company of the Cairn India Group. This email and any attachments are not guaranteed to be free from computer viruses and it is recommended that you check for such viruses before downloading it to your computer equipment. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org You did, really? http://tomcat.apache.org/lists.html#tomcat-users Read that section, carefully. Multiple times if you must. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] FW: Tomcat hangs while stopping -- bug48470
On Mon, Mar 14, 2011 at 5:03 AM, Shekhar Chaudhary shekhar.chaudh...@cairnindia.com wrote: Hi Team, I am using Tomcat version 6.0.20 on Windows Server 2008 R2. The problem is that when I try to stop the server it gets hanged due to which I have to restart my machine every time it happens. I found on Apache issues site that this is a bug in Tomcat (bug48470) for which a patch is given (bug48470.patch). I have got the patch but I am not familiar with the installation/configuration process for this patch. So please help me with the installation of this patch. Thanks, Shekhar Chaudhary -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: 14 March 2011 14:19 To: Tomcat Developers List Subject: Re: Tomcat hangs while stopping -- bug48470 On 14/03/2011 08:39, Shekhar Chaudhary wrote: Hi Team, I am using Tomcat version 6.0.20 on Windows Server 2008 R2. The problem is that when I try to stop the server it gets hanged due to which I have to restart my machine every time it happens. I found on Apache issues site that this is a bug in Tomcat (bug48470) for which a patch is given (bug48470.patch). I have got the patch but I am not familiar with the installation/configuration process for this patch. So please help me with the installation of this patch. This question belongs on the users mailing list, not the developer list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org Please do not print this email unless it is absolutely necessary. This email contains privileged and/or confidential information and is meant for the named recipient(s) only. Please be aware that if you enter into email correspondence with Cairn India Limited, its subsidiary Cairn Energy India Pty Limited or any of its other subsidiaries (collectively referred to as the Cairn India Group) this communication may be subject to monitoring and all emails will be stored in archives. If you are not a named recipient you should neither copy nor distribute this email nor disclose its contents to any person. If you have received this email in error, please notify the sender immediately by way of a return email or telephone +91 124 414 1360 and then delete it from your system. The views, opinions, and judgments expressed in this email are solely those of the author. The contents of this email have not been reviewed or approved by any company of the Cairn India Group. This email and any attachments are not guaranteed to be free from computer viruses and it is recommended that you check for such viruses before downloading it to your computer equipment. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Ans this would belong to the TOMCAT users mailing list, too. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Virtual Host Directory Permissions Problem
On Sun, Mar 13, 2011 at 4:59 PM, Hossy hossy-apa...@hossy.com wrote: 1. What are you typing to access it? 2. Try removing the :443 from your primary ServerName entry. I believe the port is defined inside the VirtualHost tag. -Original Message- From: Dennis Putnam [mailto:d...@bellsouth.net] Sent: Sunday, March 13, 2011 1:27 PM To: users@httpd.apache.org Subject: [users@httpd] Virtual Host Directory Permissions Problem I am setting up a new virtual host and am having trouble with the root directory. My new virtual host document root (/var/www/html/vhroot) is a child directory of my primary host root (/var/www/html). Is it legal to do that? When I try to access my new virtual host, I get the index from the primary document root. TIA. Here are my virtual host directives: Primary VirtualHost * DocumentRoot /var/www/html ServerName primary.mydomain.com:443 Directory /var/www/html allow from all Options +Indexes /Directory /VirtualHost New VH VirtualHost * DocumentRoot /var/www/html/vhroot ServerName newvh.mydomain.com Directory /var/www/html/vhroot allow from all Options +Indexes /Directory /VirtualHost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org There are several issues with your vhosts: 1) Assuming you want those to work on any interface, use *:PORT instead of *. Port 80 is for HTTP, and 443 is for HTTPS, normally. 2) Let's see httpd -S or apache2ctl -S under debian to see the full extent of your virtual hosts configuration. Frank. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] problem in using AOLServer and Apache on same machine at different ports
On Wed, Feb 23, 2011 at 3:57 AM, James Godrej jamesgod...@yahoo.in wrote: I am using a Ubuntu virtual machine.Where I installed OpenACS which depends upon AOLServer. To do so I had first shutdown Apache on this machine. Then following instructions given here http://openacs.org/xowiki/ubuntu Step 1) aptitude install postgresql Step 2) aptitude install openacs I had to shutdown Apache to do above installation. Now the installation finishes.So I can access http://localhost:8000 but when ever I try to start Apache on this machine which was shutdown during installation I see the error service apache2 start * Starting web server apache2 (98)Address already in use: make_sock: couldnot bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs So I thought may be OpenACS installs AOLServer so Aolserver might be listening on port 80 I check /etc/aolserver4/conf.d/ openacs.sh and here AOL_USER=www-data AOL_GROUP=www-data AOL_ADDRESS=192.168.1.15 AOL_PORT=8000 RUN_DAEMON=yes So AOLServer is not listening on port 80 upto here it is confirmed. netstat -tualp | grep 80 tcp 0 0 somemachine.somedimain.:8000 *:* LISTEN 21321/aolserver4-ns so netstat shows only 8000 in use. Then why am I unable to start Apache in this case? service apache2 start * Starting web server apache2 (98)Address already in use: make_sock: couldnot bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org James, Either 1) you're not root, 2) something's already running on that port or 3) there are multiple listen or port directives. Please see http://wiki.apache.org/httpd/CouldNotBindToAddress, or 4) You've made a typo in the Listen directive. Frank. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] How is Zlib supposed to look?
On Sun, Mar 28, 2010 at 11:31 AM, Frank DeChellis fra...@iaw.on.ca wrote: I feel so unwanted. :-) But thanks for the direction. Cheers. Frank On 10-03-28 9:51 AM, Nilesh Govindarajan li...@itech7.com wrote: On 03/28/2010 05:58 PM, Frank DeChellis wrote: Hi there, I am posting here even though I am trying to install joomla. I think it¹s an apache question. We are trying to install joomla with apache 1.3.41 and PHP 5.2.8 In http://aquaduct.iaw.com/~frankd/test.php is shows : *output_handler *zlib.output_handler zlib.output_handler But joomla says the gzip compression is not enable during the install. Is there a line that I am supposed to add to the httpd.conf to make it show through? This is what joomla shows me on install: HP Version = 4.3.10 * Yes* - Zlib Compression Support * N*o - XML Suppor*t Y*es - MySQL Suppo*rt *Yes MB Language is Defa*ult * Yes MB String Overload* Off * Yes configuration.php Wri*table Yes * Is there an httpd.conf entry that I need to finish the job? Thanks Frank Frank DeChellis President, Internet Access Worldwide Welland, Ontario, Canada www.iaw.com There's nothing to do with Apache here. Your PHP hasn't been compiled with Zlib extension. I don't know why people come here with PHP questions although this not a PHP ML. Go to PHP ML and ask how to compile with Zlib or read the docs ! Frank DeChellis President, Internet Access Worldwide Welland, Ontario, Canada www.iaw.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Frank, Also, don't use 1.3. It's been EOL'd recently, will no longer get updates, and it bloody came out 10 years ago! You'll get much better performance and support from 2.2.x. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] How to set multisites: same domain, different path, one ip address
2010/1/16 Jiongliang Zhang zhnzhong...@gmail.com: I have implement something like this: virtualhost :80 mailman is here, /virtualhost virtualhost :8080 redmine is here. /virtualhost so when I using mydomain:80 and mydomain:8080, I can request both of them. But now I have new reqirements, I hope using mydomain/mailman and mydomain/redmine to identify them, just like: http://mydomain/mailman http://mydomain/redmine on ubuntu server 8.04, apache2.2, ip: 192.168.1.128, domain: mydomain mailman path: /var/lib/mailman/* redmine path: /var/lib/redmine/* How can I do this. (I'm newbee on apache) --- Best regards! Thanks Jiongliang Zhang Use an alias: http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias Frank - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] installing apache on amazon ec2 instance
You can't load 1.3 modules with 2.2. Frank. On Fri, Nov 20, 2009 at 7:04 PM, Daniel Shapiro dshapiro1...@yahoo.com wrote: Running on Debian linux: I have been having trouble installing/running apache on an instance of an amazon cloud ec2 machine. Wondering if installation is badly done, or configs not set up, or if its a function of the virtual nature of IP on amazon ec2 cloud? It does seem I have 2 versions installed - but can't get either to work properly -- installation detail amd6:/# whereis apache apache: /usr/sbin/apache /etc/apache /usr/lib/apache /usr/share/apache /usr/share/man/man8/apache.8.gz amd6:/# whereis apache2 apache2: /usr/sbin/apache2 /etc/apache2 /usr/lib/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz amd6:/# amd6/# apache -v Server version: Apache/1.3.34 (Debian) Server built: Jan 21 2008 09:55:55 amd6:/# apache2 -v Server version: Apache/2.2.3 Server built: Jul 29 2009 10:27:09 --- Upon running apachectl: amd6# apachectl start /usr/sbin/apachectl start: httpd started amd6/# apachectl configtest Syntax OK amd6# apachectl fullstatus Looking up localhost Making HTTP connection to localhost Alert!: Unable to connect to remote host. lynx: Can't access startfile http://localhost/server-status --- Looking at error log - seems normal startup on a few bounces amd68:/# tail /var/log/apache/error.log [Fri Nov 20 18:46:16 2009] [crit] (98)Address already in use: make_sock: could not bind to port 8080 [Fri Nov 20 18:51:39 2009] [notice] SIGHUP received. Attempting to restart [Fri Nov 20 18:51:39 2009] [notice] Apache/1.3.34 (Debian) PHP/5.2.0-8+etch15 configured -- resuming normal operations [Fri Nov 20 18:51:39 2009] [notice] Accept mutex: sysvsem (Default: sysvsem) [Fri Nov 20 18:57:31 2009] [notice] caught SIGTERM, shutting down [Fri Nov 20 18:57:37 2009] [notice] Apache/1.3.34 (Debian) PHP/5.2.0-8+etch15 configured -- resuming normal operations [Fri Nov 20 18:57:37 2009] [notice] Accept mutex: sysvsem (Default: sysvsem) [Fri Nov 20 18:57:48 2009] [notice] caught SIGTERM, shutting down [Fri Nov 20 18:57:50 2009] [notice] Apache/1.3.34 (Debian) PHP/5.2.0-8+etch15 configured -- resuming normal operations [Fri Nov 20 18:57:50 2009] [notice] Accept mutex: sysvsem (Default: sysvsem) -- Trying apache2: amd6:/# apache2 -f /etc/apache2/httpd.conf apache2: Syntax error on line 6 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apache/1.3/mod_status.so into server: /usr/lib/apache/1.3/mod_status.so: undefined symbol: ap_restart_time But the file exists - but seems from the other version amd6:/# ls -altr /usr/lib/apache/1.3/mod_status* -rw-r--r-- 1 root root 17360 Jan 21 2008 /usr/lib/apache/1.3/mod_status.so -- Any help here would be greatly appreciated Pointing a browser at http://my-ip http://myip:80 and http://myip:8080 does not work of course Thank you - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] please need help starting apache2 ASAP
See my previous response: http://wiki.apache.org/httpd/CouldNotBindToAddress Frank. On Wed, Oct 21, 2009 at 9:56 PM, aurfal...@gmail.com wrote: Well, if you have a better idea, please advice our friend. On Oct 21, 2009, at 6:51 PM, Eric Covener wrote: On Wed, Oct 21, 2009 at 9:47 PM, aurfal...@gmail.com wrote: Hi, I would simplify things and comment out all the virtual servers to see what haps. Then uncomment 1 by 1, restarting the Apache server between each uncommenting. Although at 1st glance, sound like you have some kind of issue with the log dir. All of this is misleading. -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Sudden death
Jos, Pasting the whole config file is not particularly useful. Try tell us what the error log contains, or starting httpd with httpd -X, or running it with gdb. Frank On Sat, Jul 11, 2009 at 5:48 PM, Jos Chrispijnapa...@webrz.net wrote: [Apache 1.3.41_1] Two days ago I rebooted my system and for some reason my apache server doesn't start anymore. I understand that this might be caused by port updates that have been processed during the time my system was live; just had a look in my httpd.conf and system log file (all.log), but no sign of origin of the problem. Can I somehow start apache in debug mode to find out what might be wrong here? Thanks. [httpd.conf] ## ## httpd.conf ## ### Section 1: Global Environment ServerRoot /usr/local/ #LockFile/var/run/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile /var/run/httpd.scoreboard Timeout 300 KeepAliveOn MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 LoadModule mmap_static_module libexec/apache/mod_mmap_static.so LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so LoadModule env_module libexec/apache/mod_env.so LoadModule config_log_module libexec/apache/mod_log_config.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule mime_modulelibexec/apache/mod_mime.so LoadModule negotiation_module libexec/apache/mod_negotiation.so LoadModule status_module libexec/apache/mod_status.so LoadModule info_modulelibexec/apache/mod_info.so LoadModule includes_modulelibexec/apache/mod_include.so LoadModule autoindex_module libexec/apache/mod_autoindex.so LoadModule dir_module libexec/apache/mod_dir.so LoadModule cgi_module libexec/apache/mod_cgi.so LoadModule asis_modulelibexec/apache/mod_asis.so LoadModule imap_modulelibexec/apache/mod_imap.so LoadModule action_module libexec/apache/mod_actions.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule userdir_module libexec/apache/mod_userdir.so LoadModule alias_module libexec/apache/mod_alias.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule access_module libexec/apache/mod_access.so LoadModule auth_modulelibexec/apache/mod_auth.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_modulelibexec/apache/mod_setenvif.so LoadModule php5_modulelibexec/apache/libphp5.so ClearModuleList AddModule mod_mmap_static.c AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_digest.c AddModule mod_proxy.c AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_php5.c ### Section 2: 'Main' server configuration Port 80 User www Groupwww ServerAdmin m...@mysite.com ServerName myserserver.mysite.com DocumentRoot /usr/local/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /usr/www Options Indexes FollowSymLinks MultiViews ExecCGI Includes AllowOverride AuthConfig Limit Indexes Options FileInfo Order allow,deny Allow from all /Directory IfModule mod_userdir.c UserDir public_html /IfModule IfModule mod_dir.c IfModule mod_php3.c IfModule mod_php4.c DirectoryIndex index.php index.php3 index.html /IfModule IfModule !mod_php4.c DirectoryIndex index.php3 index.html /IfModule /IfModule IfModule !mod_php3.c IfModule mod_php4.c DirectoryIndex index.php index.html index.htm /IfModule IfModule mod_php5.c
Re: [us...@httpd] Apache serves css and images as empty files
Mike, Try EnableSendfile off or uninstall Avira server avguard. Frank On Fri, Jul 10, 2009 at 7:09 AM, Michael Dearmanm...@quarch.com wrote: Hi, I’m running an intranet server with apache 2.2.10 on OpenSuse 11.1, everything was running fine until I installed Avira server avguard (at least i think that’s what broke it). Now when i try to access any webpages the html is served correctly but css and images are returned as empty files. There are no errors in the logs and the server is still serving our svn version control correctly so other than this problem, apache seems to be working fine. The files are definitely there and there are no error messages to suggest file access problems. I’m out of ideas on how to fix it and really don’t want to re-install as svn is critical for us so I would welcome some suggestions. Thanks, Mike - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache install problem
This mailing list is not how-to-manage-packa...@distro.org Frank On Sat, Jun 27, 2009 at 12:44 PM, Mohit Anchliamohitanch...@gmail.com wrote: Another question when I upgrade does it remove existing apache 2.2.6 installation? On Sat, Jun 27, 2009 at 9:43 AM, Mohit Anchliamohitanch...@gmail.com wrote: So can't I install on top of already installed package even though it's a different package? I wonder why it worked on one of the other machines where I already had apache 2.2.6 On Fri, Jun 26, 2009 at 9:01 PM, Igor Cicimovicici...@gmail.com wrote: # rpm -Uvh httpd2-2.2.11-5.2.1.1.rpm since you need to upgrade. If you want to install then you better uninstall the old one first. On Sat, Jun 27, 2009 at 6:20 AM, Frank Gingras francois.ging...@gmail.com wrote: Mohit, You need to ask a mailing list tailored for your linux distribution. Frank. Mohit Anchlia wrote: Could you please explain more? I did install on one of the other machines successfully before that had the old package installed. On Fri, Jun 26, 2009 at 1:01 PM, Frank Gingrasfrancois.ging...@gmail.com wrote: Mohit, That's not how package managers work. Frank. Mohit Anchlia wrote: I don't want to upgrade but want to install this pacakge. On Fri, Jun 26, 2009 at 12:49 PM, Frank Gingrasfrancois.ging...@gmail.com wrote: See the difference between --install and --upgrade Frank Mohit Anchlia wrote: I am installing new package but I am getting error message as listed in my initial post. $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm Preparing... ### [100%] file /etc/rc.d/init.d/httpd2 from install of httpd2-2.2.11-5.2.1.1 conflicts with file from package httpd2-2.2.6-2_0_2_0 On Fri, Jun 26, 2009 at 12:27 PM, Eric Covenercove...@gmail.com wrote: On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchliamohitanch...@gmail.com wrote: I am trying to upgrade apache but keep getting following error: $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm Preparing... ### [100%] file /etc/rc.d/init.d/httpd2 from install of httpd2-2.2.11-5.2.1.1 conflicts with file from package httpd2-2.2.6-2_0_2_0 I am not sure why it's happening. I tried to move httpd2 file but that didn't help either. INSTALLING, UPGRADING, AND REMOVING PACKAGES: rpm {-i|--install} [install-options] PACKAGE_FILE ... rpm {-U|--upgrade} [install-options] PACKAGE_FILE ... -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Fwd: Home Web Server
Justin, 1) You should not use the port in the ServerName 2) those directives will not fix the original issue, as outlined in this thread. Did you have to a chance to read www.portforward.com? Frank On Wed, May 13, 2009 at 1:36 PM, Justin Zhang justinzhang1...@gmail.com wrote: Is my cofiguration right? Listen 192.168.0.100:80 ServerName 24.78.136.243:80 On Wed, May 13, 2009 at 9:32 AM, J. Greenlees li...@jaqui-greenlees.net wrote: Justin Zhang wrote: My apache web server is connected as the diagram through DLink router,Phone adapter and Shaw cable modem. http://en.wikipedia.org/wiki/File:Voip-typical.gif Question, I can brower my web site by http://192.168.0.100/ within local network. How can I browse my web site from computer over internet? I check my IP address from myIPaddress and get It's Shaw, they block port 80, change the Apache conf to have Apache use 8080 had that problem with shaw myself. and email from a remote server you need to change the port for that also, add one to the default. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] What is Apache not Starting
What does the error log say, exactly? Frank On Sun, May 10, 2009 at 9:24 AM, ganeshapache ganeshapa...@gmail.com wrote: Iam not a windows guy.. but as linux admin who managed apace for years now... how i would have analysed this issue if it would have happed on a linux machine is by specifying the configuration file directly to apachectl... like apachectl -t /usr/local/apache/conf/httpd.conf what this will do is... you will get all the errors on the console... some times this gives you more clues than the logs... give it a try if possible on the windows too... Ganesh gan...@efficeasy.com Varuna Seneviratna wrote: I am new to apache I installed apache2.2.8 using the windows installer But it does not start.I was adviced by help and support of Microsoft to type sc query and the serveice name and see what the message is and this is what I got : SERVICE_NAME: Apache2.2 TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED (NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN WIN32_EXIT_CODE : 1066 (0x42a) SERVICE_EXIT_CODE : 1 (0x1) CHECKPOINT : 0x0 WAIT_HINT : 0x0 What does this means. What do I have to do Thanks VAtWeb - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Real time thread tracking
I vote on licenses to be allowed to get on the Internet. This twat certainly does not deserve one. On Sat, Mar 7, 2009 at 6:19 PM, Evan Platt e...@espphotography.com wrote: At 01:54 PM 3/7/2009, you wrote: I'm sure there are lots of Windows forums where that would be on-topic and welcomed, but it's off-topic and boreing us all to sleep here. I agree. I'm about ready to either KF him... It's past time for a mod to step in. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [EMAIL PROTECTED] htaccess redirect URL fragment problem with Safari browser
I'm glad you understand why the www. host redirection was removing the original anchor. Now the second part of the problem is exposed, and confirmed. I'll do some digging as far apache is concerned to see if we can preserve that anchor. On Thu, Nov 6, 2008 at 3:34 AM, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: Frank Gingras wrote: 'http://utexas.edu/student/registrar/schedules/092/regrules/all.html#acc' directly. It'll bypass the mod_rewrite redirection, and work as expected. I tested it here under OSX 10.4. There is no 'wishful thinking' in this process, whatsoever. On 05.11.08 15:02, Robert T Wyatt wrote: That is so strange! That file doesn't exist! I wonder how you successfully retrieve it when everyone else is redirected to: http://registrar.utexas.edu/schedules/092/regrules/all.html#acc (as long as they are not using Safari). See the response of Eric Covener [EMAIL PROTECTED], he guessed what I'm guessing too, except that he mentioned Opera and you are talking about safari. -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Silvester Stallone: Father of the RISC concept. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Serving blank page when content size increases
Alec, What does the error log contain, exactly? Frank On Sat, Oct 4, 2008 at 10:01 PM, Alec Lebedev [EMAIL PROTECTED] wrote: I have a text file which sits on the hard drive and is served by the Apache HTTP server. Even though the file has a lot of data (330 KB) the page in the browser is blank. I played with the content of the file and got to the point where I can see the file content correctly served by the Apache HTTP server. However, once I add one letter the page served by the server is blank. Any ideas how to solve the problem? Is there some file size configuration that I need to increase in httpd.conf? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Serving blank page when content size increases
Alec, Please paste the full line from the access log here. Also, what type of content is it? Could it be using a different charset? On Sun, Oct 5, 2008 at 2:51 PM, Alec Lebedev [EMAIL PROTECTED] wrote: There are no errors written in error_log, but access_log reflects that the file was being accessed. Any thoughts? - Original Message From: Francois Gingras [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Sunday, October 5, 2008 9:44:10 AM Subject: Re: [EMAIL PROTECTED] Serving blank page when content size increases Alec, What does the error log contain, exactly? Frank On Sat, Oct 4, 2008 at 10:01 PM, Alec Lebedev [EMAIL PROTECTED] wrote: I have a text file which sits on the hard drive and is served by the Apache HTTP server. Even though the file has a lot of data (330 KB) the page in the browser is blank. I played with the content of the file and got to the point where I can see the file content correctly served by the Apache HTTP server. However, once I add one letter the page served by the server is blank. Any ideas how to solve the problem? Is there some file size configuration that I need to increase in httpd.conf? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.
Hello, With ScriptAlias, you don't actually need Option (+)ExecCGI. You simply need to allow access to that directory. Also, make sure that the mod_cgi module is loaded, and you should be good to go. Frank On Wed, Oct 1, 2008 at 8:01 AM, Prathima Dandapani -X (pdandapa - HCL at Cisco) [EMAIL PROTECTED] wrote: Hello All, I have Apache 2.2.9 running.Perl script is not getting executed,but it is getting downloaded.Here is the configuration done for executing perl scripts. ScriptAlias /cgi-bin/ C:/PROGRA~1/CSCOpx/cgi-bin/ Directory C:/PROGRA~1/CSCOpx/cgi-bin/ AllowOverride None Options ExecCGI AddHandler cgi-script .pl ScriptInterpreterSource Registry-Strict /Directory Please help me to resolve the issue. Thanks and Regards, Prathima. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] HTTP Server 2.2.9 - Unable to view the files from IE
Jay, Directory / points to the actual '/' path. It is locked down for security reasons, and you should not alter it. To allow access to your server, you should create or alter the Directory block in your virtual host instead. Look out for the DocumentRoot directive to know what path to use. Frank. On Sun, Sep 7, 2008 at 8:38 AM, Jay [EMAIL PROTECTED] wrote: Hello Edward, Thank you for your reply. Was able to see your reply in the archives but it didn't land in my inbox yet. Subscribed to this list just a moment before posting this question. So, it may take a while for the list to reflect my user id as well. So, this may appear as a new thread. Coming back to the original problem, as it didn't work with the default conf file, I made minor modification as below: Original entry: Directory / Options FollowSymLinks AllowOverride None Order deny,allow Deny from all /Directory Updated as: Directory / Options FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory Thank You. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Logging query strings from a re-write rule
Ah, let's see your CustomLog directive, please. On Mon, Jul 14, 2008 at 4:22 AM, Foster, Stephen (ASPIRE) [EMAIL PROTECTED] wrote: Hi there, I think you may have misunderstood the issue. Functionally my re-write rule is working okay but its logging the query string of the URL that I am sending the browser to. If that makes sense.. Steve -Original Message- From: Francois Gingras [mailto:[EMAIL PROTECTED] Sent: 10 July 2008 14:16 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Logging query strings from a re-write rule Steve, Without digging too much in your particular issue, note that RewriteCond will only match the query string if you use %{QUERY_STRING}; You can check the following guide for examples: http://wiki.apache.org/httpd/RewriteQueryString Frank On 7/10/08, Foster, Stephen (ASPIRE) [EMAIL PROTECTED] wrote: Hi, I have implemented a re-write rule that captures the incoming requests, checks for a cookie and then directs the user to another system to authenticate and get a cookie before being allowed to access pages under the webserver. E.g: RewriteCond %{HTTP_HOST} != RewriteCond %{REQUEST_URI} !=/server-status RewriteCond %{REQUEST_URI} !=/server-status?auto RewriteCond %{REQUEST_URI} !=/heartbeat/heartbeat.htm RewriteCond %{HTTP_COOKIE} !.*iiswlssignonuser* RewriteRule .*$ http://www.steve.co.uk/Identification/WLSLogon.asp\?URL=http://%{HTTP_HO ST}%{REQUEST_URI}path=%{REQUEST_URI}domain=.steve.co.ukname=mwar e [L] Functionaly this works perfectly but in the access logs I am getting the Query string of the re-direct URL being shown against the initial request. E.g I am accessing http://internal.steve.co.uk/TestWebApp/index.html 2008-07-10 10:53:02 10.101.X.X internal.steve.co.uk GET /TestWebApp/index.html HTTP/1.1 302 367 2025 ?URL=http://internal.steve.co.uk/TestWebApp/index.htmlpath=/TestWebApp/ index.htmldomain=.steve.co.ukname=mware Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1) - - 2008-07-10 10:53:05 10.101.X.X internal.steve.co.uk GET /TestWebApp/index.html HTTP/1.1 200 396 60460 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1) - - Any thoughts?? Like I say its working fine, just logging wrongly. Cheers Steve Capgemini is a trading name used by the Capgemini Group of companies which includes Capgemini UK plc, a company registered in England and Wales (number 943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 6DB. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -- Francois Gingras (i): http://ccds.ca (p): (514) 243-8233 (f): (514) 731-5834 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Capgemini is a trading name used by the Capgemini Group of companies which includes Capgemini UK plc, a company registered in England and Wales (number 943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 6DB. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] help with apache2 and php3 support // mojo
Hello, Please read the following article: http://wiki.apache.org/httpd/13PermissionDenied As for your second question, simply change your AddHandler line from AddHandler application/x-httpd-php .php to AddHandler application/x-httpd-php .php .php3 in your configuration. Not that if you were using AddType before, you'll need to change it to AddHandler. See: http://www.devside.net/articles/php On 7/10/08, Reveal MAP [EMAIL PROTECTED] wrote: hello! newbie at apache, lamp and generally linux stuff here. I have 2 problem: first one: .i would like to be able to run dialup_admin 2.0.5 on apache2. like indicated at: http://wiki.freeradius.org/Dialup_admin#Installing_.26_System_Configuration i did the following: ln -s /usr/share/dialup_admin /srv/www/htdocs/dialup but when i try to open it with firefox, all i obtain is that error message: ACCESS FORBIDEN: - You don't have permissionto access the requested object. It is either read protected or not readableby the server. - if you think that is a server error, please contactc your webmaster. - error 40.3. i tried chmod 777 -R /usr/share/dialup_adminwith no result (same issue) could someone help me to fix it, please? second one: .php files works fine, but i would like to be able to run .php3 extension files too. how could i do that! my config: -opensuse 10.3 -apache version is 2.2.9 -php5 -mysql5 my webroot is located at /etc/www/htdocs. Regards! Envoyé avec Yahoo! Mail. Une boite mail plus intelligente. -- Francois Gingras (i): http://ccds.ca (p): (514) 243-8233 (f): (514) 731-5834 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Logging query strings from a re-write rule
Steve, Without digging too much in your particular issue, note that RewriteCond will only match the query string if you use %{QUERY_STRING}; You can check the following guide for examples: http://wiki.apache.org/httpd/RewriteQueryString Frank On 7/10/08, Foster, Stephen (ASPIRE) [EMAIL PROTECTED] wrote: Hi, I have implemented a re-write rule that captures the incoming requests, checks for a cookie and then directs the user to another system to authenticate and get a cookie before being allowed to access pages under the webserver. E.g: RewriteCond %{HTTP_HOST} != RewriteCond %{REQUEST_URI} !=/server-status RewriteCond %{REQUEST_URI} !=/server-status?auto RewriteCond %{REQUEST_URI} !=/heartbeat/heartbeat.htm RewriteCond %{HTTP_COOKIE} !.*iiswlssignonuser* RewriteRule .*$ http://www.steve.co.uk/Identification/WLSLogon.asp\?URL=http://%{HTTP_HOST}%{REQUEST_URI}path=%{REQUEST_URI}domain=.steve.co.ukname=mwar e [L] Functionaly this works perfectly but in the access logs I am getting the Query string of the re-direct URL being shown against the initial request. E.g I am accessing http://internal.steve.co.uk/TestWebApp/index.html 2008-07-10 10:53:02 10.101.X.X internal.steve.co.uk GET /TestWebApp/index.html HTTP/1.1 302 367 2025 ?URL=http://internal.steve.co.uk/TestWebApp/index.htmlpath=/TestWebApp/index.htmldomain=.steve.co.ukname=mware Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1) - - 2008-07-10 10:53:05 10.101.X.X internal.steve.co.uk GET /TestWebApp/index.html HTTP/1.1 200 396 60460 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1) - - Any thoughts?? Like I say its working fine, just logging wrongly. Cheers Steve Capgemini is a trading name used by the Capgemini Group of companies which includes Capgemini UK plc, a company registered in England and Wales (number 943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 6DB. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -- Francois Gingras (i): http://ccds.ca (p): (514) 243-8233 (f): (514) 731-5834 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]