Re: [users@httpd] a few esi:include in a .php file?
- Original Message - Hi, guys, The ESI Language Specification 1.0 (http://www.w3.org/TR/esi-lang) says ESI Processor implementations may limit the number of includes used in a single ESI resource. I am using apache 2.2. Can I use a few !--#esi:include virtual=SOME_URL_HERE esi_end-- in one .php file? Sure you can, but it won't be interpreted. Neither by PHP nor by Apache httpd. The list of F/OSS HTTP servers/caches which do support ESI is quite comprehensive so far: * Varnish * Squid * mongrel-esi Thanks. Dennis i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.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: [users@httpd] a few esi:include in a .php file?
- Original Message - - Original Message - Hi, guys, The ESI Language Specification 1.0 (http://www.w3.org/TR/esi-lang) says ESI Processor implementations may limit the number of includes used in a single ESI resource. I am using apache 2.2. Can I use a few !--#esi:include virtual=SOME_URL_HERE esi_end-- in one .php file? Sure you can, but it won't be interpreted. Neither by PHP nor by Apache httpd. The list of F/OSS HTTP servers/caches which do support ESI is quite comprehensive so far: * Varnish * Squid * mongrel-esi But there's at least one PHP framework which does support ESI: http://drupal.org/project/esi i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.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: [users@httpd] a few esi:include in a .php file?
On Thu, 24 Feb 2011 13:13:27 - (UTC) Igor Galić i.ga...@brainsware.org wrote: Sure you can, but it won't be interpreted. Neither by PHP nor by Apache httpd. The list of F/OSS HTTP servers/caches which do support ESI is quite comprehensive so far: FWIW, I did once implement an ESI parser for Apache. I recollect it featuring in my presentation at ApacheCon 2003, when I had been getting into the power of the filtering framework to process markup. There was no interest in it, so I made no attempt to maintain it. Though it would be less work to reimplement now, based either on current mod_xmlns or mod_xml2, together with the ap_expr framework. -- Nick Kew Available for work, contract or permanent. http://www.webthing.com/~nick/cv.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
[users@httpd] Newbie
Please forgive if I am sending this to the wrong place. I am a newbie and I am trying to reinstall my apache server. Please let me know if I sent this to the wrong place and I will no longer bother you. Please direct me to the right place. Thanks Matt - 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] Newbie
On Thu, Feb 24, 2011 at 5:01 PM, Matt Guise mgu...@mattguise.com wrote: Please forgive if I am sending this to the wrong place. I am a newbie and I am trying to reinstall my apache server. Please let me know if I sent this to the wrong place and I will no longer bother you. Please direct me to the right place. Thanks Matt Right place, start asking questions... Cheers Tom - 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] Newbie
Great! This is awesome! Glad you are here. My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can¹t open the page ³http://localhost/² because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. 1. Do you think I should reinstall Apache? 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where should I put that folder? I keep all of my websites in the site folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt On 2/24/11 11:16 AM, Tom Evans tevans...@googlemail.com wrote: On Thu, Feb 24, 2011 at 5:01 PM, Matt Guise mgu...@mattguise.com wrote: Please forgive if I am sending this to the wrong place. I am a newbie and I am trying to reinstall my apache server. Please let me know if I sent this to the wrong place and I will no longer bother you. Please direct me to the right place. Thanks Matt Right place, start asking questions... Cheers Tom - 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: [users@httpd] Newbie
At 11:40 -0600 2/24/11, Matt Guise wrote: My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. I'm surprised, but AppleCare might have missed the obvious: You will need to turn on the general features of file sharing in OS X. System preferences is the application and Network or Sharing are the GUI style questions. They are obvious to a casual user but frustratingly complex when viewed by a UNIX user. -- -- A fair tax is one that you pay but I don't -- - 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] Newbie
Web Sharing and File Sharing is on and checked. But when I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the serveris busy. Wait for a few minutes, and then try again. Which is why they told me to I need to reload Apache. 1. Do you think I should reinstall Apache? 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where should I put that folder? I keep all of my websites in the site folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt On 2/24/11 12:57 PM, Doug McNutt dougl...@macnauchtan.com wrote: At 11:40 -0600 2/24/11, Matt Guise wrote: My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. I'm surprised, but AppleCare might have missed the obvious: You will need to turn on the general features of file sharing in OS X. System preferences is the application and Network or Sharing are the GUI style questions. They are obvious to a casual user but frustratingly complex when viewed by a UNIX user. - 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] Newbie
Hello, You might try putting your files in Library/WebServer/Documents/ Norman On 2011-02-24, at 12:12 PM, Matt Guise wrote: Web Sharing and File Sharing is on and checked. But when I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the serveris busy. Wait for a few minutes, and then try again. Which is why they told me to I need to reload Apache. 1. Do you think I should reinstall Apache? 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where should I put that folder? I keep all of my websites in the site folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt On 2/24/11 12:57 PM, Doug McNutt dougl...@macnauchtan.com wrote: At 11:40 -0600 2/24/11, Matt Guise wrote: My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. I'm surprised, but AppleCare might have missed the obvious: You will need to turn on the general features of file sharing in OS X. System preferences is the application and Network or Sharing are the GUI style questions. They are obvious to a casual user but frustratingly complex when viewed by a UNIX user. - 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 --- http://www.normanfournier.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
Re: [users@httpd] Newbie
When I was using my MAC to run Apache, I installed the full version of Apache since my MAC had a light version of httpd. I found it confusing as well, until I had the full version of Apache Sent from my HTC on the Now Network from Sprint! - Reply message - From: Matt Guise mgu...@mattguise.com Date: Thu, Feb 24, 2011 11:12 am Subject: [users@httpd] Newbie To: users@httpd.apache.org Web Sharing and File Sharing is on and checked. But when I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the serveris busy. Wait for a few minutes, and then try again. Which is why they told me to I need to reload Apache. 1. Do you think I should reinstall Apache? 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where should I put that folder? I keep all of my websites in the site folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt On 2/24/11 12:57 PM, Doug McNutt dougl...@macnauchtan.com wrote: At 11:40 -0600 2/24/11, Matt Guise wrote: My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. I'm surprised, but AppleCare might have missed the obvious: You will need to turn on the general features of file sharing in OS X. System preferences is the application and Network or Sharing are the GUI style questions. They are obvious to a casual user but frustratingly complex when viewed by a UNIX user. - 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
[users@httpd] Re: How do I set KeepAliveTimeout for Apache 2.2 ?
- Original Message - Can anyone let me know where exactly and in which files do I have to make the changes in order to set the following variables in Apache server 2.2 ? Each of the below links to the documentation of the directives will have a link to it's context: http://httpd.apache.org/docs/current/mod/directive-dict.html#Context Telling you where exactly you can put these directives. Apache httpd doesn't care about which files you put them only which context these files are included. This is not really an issue worth discussing on dev@ but more on users@ - KeepAlive http://httpd.apache.org/docs/current/mod/core.html#keepalive - KeepAliveTimeout http://httpd.apache.org/docs/current/mod/core.html#keepalivetimeout - MaxKeepAliveRequests http://httpd.apache.org/docs/current/mod/core.html#maxkeepaliverequests - MaxClients http://httpd.apache.org/docs/current/mod/mpm_common.html#maxclients i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.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
[users@httpd] Re: Newbie
Matt Guise wrote: Great! This is awesome! Glad you are here. My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can¹t open the page ³http://localhost/² because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. 1. Do you think I should reinstall Apache? 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where should I put that folder? I keep all of my websites in the site folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt You will better off installing: MAMP. You can download it from here: http://www.mamp.info/en/index.html OR http://www.apachefriends.org/en/xampp-macosx.html When you have finished with it, you can read this article: http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html hth - 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] Newbie
On Thursday 24 February 2011 21:55:17 Arthur P Pesa wrote: When I was using my MAC to run Apache, I installed the full version of Apache since my MAC had a light version of httpd. Stop spreading FUD (at least if you mean a Mac computer with one of last 3 or 4 major versions of OS X by MAC). Apple packages a complete install of httpd 2.x with a few extra modules, although compiled and configured with a quite unusual directory layout (which is a supported feature of httpd). But it is perfectly useable out of the box for static websites, including user sites, and most PHP applications. The Web Sharing preference is merely a frontend to starting and stopping httpd, propably via launchd. It is also optional, apachectl works as well. It also does write log files, IIRC in the usual location under /var/log/apache2, viewable from the Console application or Terminal. JFTR: it is no problem to compile and use a vanilla httpd on OSX with Developer Tools. But it should not be necessary for th OP. Rainer I found it confusing as well, until I had the full version of Apache Sent from my HTC on the Now Network from Sprint! - Reply message - From: Matt Guise mgu...@mattguise.com Date: Thu, Feb 24, 2011 11:12 am Subject: [users@httpd] Newbie To: users@httpd.apache.org Web Sharing and File Sharing is on and checked. But when I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the serveris busy. Wait for a few minutes, and then try again. Which is why they told me to I need to reload Apache. 1. Do you think I should reinstall Apache? 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where should I put that folder? I keep all of my websites in the site folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt On 2/24/11 12:57 PM, Doug McNutt dougl...@macnauchtan.com wrote: At 11:40 -0600 2/24/11, Matt Guise wrote: My ultimate goal is to run the server on my iMac running Mac OS X Version 10.6.6. Using Adobe Dreamweaver I want to test PHP pages locally on my computer. All mac's come with Apache installed but for some reason mine is not running right. I called AppleCare and they said that I need to reinstall Apache. When I type in the Safari browser http://localhost/; I get the message Safari can't open the page http://localhost/; because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. I'm surprised, but AppleCare might have missed the obvious: You will need to turn on the general features of file sharing in OS X. System preferences is the application and Network or Sharing are the GUI style questions. They are obvious to a casual user but frustratingly complex when viewed by a UNIX user. - 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