Re: [us...@httpd] cannot access sites through "localhost" on development computer

2009-03-11 Thread Krist van Besien
On Thu, Mar 12, 2009 at 1:22 AM, Thomas Johansson wrote: > In my Apache documentation, I read somewhere that I could instead try > http://127.0.0.1. And when I do so, it works fine (i.e. I get to my Inetpub > folder and can see my web sites and their pages and work as normal). > According to the

Re: [us...@httpd] Port-based vhosts

2009-03-11 Thread Charles Sprickman
On Wed, 11 Mar 2009, Andr? Warnier wrote: Charles Sprickman wrote: [...] Under what conditions does Apache then get involved and alter the URL? Just redirects? I understand a common redirect is just adding a trailing slash when the user does not supply it. What are some other common cases?

Re: [us...@httpd] 404 when first visit if userdir is mounted using autofs

2009-03-11 Thread Tz-Huan Huang
On Wed, Mar 11, 2009 at 11:34 PM, Justin Pasher wrote: > Tz-Huan Huang wrote: >> >> Hi, >> >> In our www server the /home/* is mounted automatically >> using autofs. >> >> When visiting a user's homepage via >> http://hostname/~user first time, the httpd says >> ``404 not found'', but after reload

Re: [us...@httpd] After recompile site down - SOLVED

2009-03-11 Thread Squirrel
Solved!! Although, specified during make of php5-extensions, for some reason it had to be specified during make of php5 as well. After I recompiled php5 --with-gd, it all worked out ok. Another thing was I had to specify --with-jpeg-dir=/usr/local/lib to have GD support jpeg. Strangely, path

Re: [us...@httpd] After recompile site down

2009-03-11 Thread Glen Barber
On Wed, Mar 11, 2009 at 8:43 PM, Glen Barber wrote: > On Wed, Mar 11, 2009 at 8:21 PM, Squirrel wrote: >> After recompiling PHP5.2.8 and php5-extensions, the sites are back up >> again!!!  Heewww! >> >> Funny thing though, I selected GD option in php5-extensions, and it went >> without a hitch,

Re: [us...@httpd] After recompile site down

2009-03-11 Thread Glen Barber
On Wed, Mar 11, 2009 at 8:21 PM, Squirrel wrote: > After recompiling PHP5.2.8 and php5-extensions, the sites are back up > again!!!  Heewww! > > Funny thing though, I selected GD option in php5-extensions, and it went > without a hitch, but phpinfo() does not show GD2 support.  I've checked the

[us...@httpd] cannot access sites through "localhost" on development computer

2009-03-11 Thread Thomas Johansson
Hello, I am having a problem and wonder if someone could help. I am using Apache 2.2 installed on my laptop for site development purposes with PHP (on Windows Vista). Normally, in order to see my sites, I just open my web browser (either IE or Firefox), then type http://localhost in the ad

Re: [us...@httpd] After recompile site down

2009-03-11 Thread Squirrel
After recompiling PHP5.2.8 and php5-extensions, the sites are back up again!!! Heewww! Funny thing though, I selected GD option in php5-extensions, and it went without a hitch, but phpinfo() does not show GD2 support. I've checked the pkg_info and gd2 and php5-gd are both there, and also in e

[us...@httpd] Website timing out while uploading large files

2009-03-11 Thread Krumbein, Cedric
I'm having a problem with a Mason-based internal website that I recently converted from HTTP to HTTPS.  One page in the website allows users to upload files.  When a user uploads a small file, everything works fine.  But when a user tries to upload a large file, which can take over a minute, the

Re: [us...@httpd] mod_rewrite redirect to local path issue

2009-03-11 Thread Bob Ionescu
2009/3/11 Steven Bower : > Hi- > I am using mod_rewrite to redirect from a sub-directory of my existing > domain to a new domain just for this section. > Here is my .htaccess file in /othersite/ (specific domains and paths > hidden): > > RewriteEngine on > RewriteBase /othersite/ > Rew

Re: [us...@httpd] DBDDriver-mysql conflicts with php-mysql module

2009-03-11 Thread paredes
Investigating further, I found a similar complain at http://bugs.php.net/bug.php?id=45995 In that case the issue was "solved" by using apr / apr-util < 1.3 So I rebuilt Apache using apr & apr-util version 1.2.11 and now mod_authn_dbd and php built with mysql support work as documented. Any

[us...@httpd] symboliclink ?

2009-03-11 Thread Håkan Larsson
hello. I have run apache2.0 for same time on Fedora core4. There I have a file directory "/download/pub". the html root was "/var/www/html/ssl/". A link i index.html get me to "/var/www/html/ssl/files". In this directory there where no index.html. the was all the files and links (~pub) pointing

[us...@httpd] Dynamically Updating Rewrite rules etc.

2009-03-11 Thread wi
Hi all Our architecture has a cluster of Apache servers behind an industrial strength load balancer. The Apache servers basically examine each request (REST requests, actually) and dispatch to back end applications depending on this parsing. At this stage, each back-end application has to be set

[us...@httpd] mod_rewrite redirect to local path issue

2009-03-11 Thread Steven Bower
Hi- I am using mod_rewrite to redirect from a sub-directory of my existing domain to a new domain just for this section. Here is my .htaccess file in /othersite/ (specific domains and paths hidden): RewriteEngine on RewriteBase /othersite/ RewriteRule ^(.*)$ http://.com/$1 [R=301,L]

[us...@httpd] Connecting to file system path via ALIAS

2009-03-11 Thread Jen Liao
I am having problems mapping to a file systems path on the local windows box using the Apache ALIAS command. The directory is c:\shared_docs\release In httpd.conf i have Alias /release "c:/shared_docs/release" Options Indexes AllowOverride AuthConfig FileInfo Ord

Re: [us...@httpd] After recompile site down

2009-03-11 Thread Squirrel
Another thing I noticed is that, now the httpd process is using nearly 100% of the CPU, making the server very slow. -Original message- From: Squirrel squir...@mail.isot.com Date: Wed, 11 Mar 2009 19:28:09 -0600 To: users@httpd.apache.org Subject: [us...@httpd] After recompile site down

[us...@httpd] After recompile site down

2009-03-11 Thread Squirrel
I've made Apache 2.2.11 port yesterday: ...# make clean ...# make ...# make deinstall ...#make install And all went well and all my normal websites come up without a problem. But since then non of my Joomla 1.0.15 sites are coming up. The log shows: PHP Warning: Wrong parameter count fo

[us...@httpd] mod_rewrite with the result of mod_proxy

2009-03-11 Thread Nuno Fernandes
Hi, I have an apache with mod_proxy and its in reverse mode with 2 IIS in the inside network. I can't touch the IIS code. I would like to have it balanced with stickysession cookie. Is there any way i can add a cookie like RewriteCond %{HTTP_COOKIE} !"BALANCEID=balancer.(\w+)" RewriteRule .*

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
John, That would be correct. You should run apache2 -V, which would give you a clear cut response. Also, for httpd 2.x, -M will give you a better list if you're looking for your modules. Frank. John Hudak wrote: makes senses..tyvm! I ran: apache2 -l and got: Compiled in modules: core.c

Re: [us...@httpd] Apache processes

2009-03-11 Thread John Hudak
makes senses..tyvm! I ran: apache2 -l and got: Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c So my interpretation is that my version was compiled with prefork, and not worker. Correct? thanks again -John On Wed, Mar 11, 2009 at 12:11 PM, Fra

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
John, prefork and worker are mutually exclusive. When apache is compiled, one is picked. In order to change the MPM, apache must be recompiled. See the output from httpd -V Frank. John Hudak wrote: On a related question (and not to hijack this thread too much...)...In the file apache2.conf

Re: [us...@httpd] Apache processes

2009-03-11 Thread John Hudak
On a related question (and not to hijack this thread too much...)...In the file apache2.conf there are two sections that determine the server operation, prefork MPM and worker MPM. Where (how?) is the decision made to set either mpm_prefork_module TRUE or mpm_worker_module TRUE? It is my understand

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
Andrew, Well, WinNT uses a different MPM model. There is a parent process, and a 'child' process that has internal threads, visible from mod_status. On linux, those would show up as separate processes. See http://httpd.apache.org/docs/2.2/mod/mpm_common.html#startservers Frank. Andrew Hole

Re: [us...@httpd] Apache processes

2009-03-11 Thread Andrew Hole
Thanks. But I just see 2 processes on task manager, not 63!!! Are there threads? MPM is commented. Where can i find the pre-set directives values? # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf Thanks On Wed, Mar 11, 2009 at 3:49 PM, Frank Gingras wrote: > Andrew, >

[us...@httpd] mod_proxy_balancer and svchost.exe

2009-03-11 Thread Andrew Hole
Hi guys! Everytime I load mod_proxy_balancer LoadModule proxy_balancer_module modules/mod_proxy_balancer.so the svchost.exe process goes to 100% of CPU usage...and remaining always at 100%... Why?? Thanks!

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
Andrew, You may have not set those, but apache ships with pre-set directives. Open your config files, and see what those directives are set to. Idle workers are processes which are not responding to any HTTP request at the moment. Frank. Andrew Hole wrote: I dont have configured any of tha

Re: [us...@httpd] Apache processes

2009-03-11 Thread Andrew Hole
I dont have configured any of that directives. There is any default configuration? And about server-status: Parent Server Generation: 21 requests currently being processed, 63 idle workers What's mean parent server generation and idle workers? Thanks a lot On Wed, Mar 11, 2009 at 3:34 PM, Fra

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
Andrew, See the StartServers / MinSpareServers directives. Frank. Andrew Hole wrote: Hi! By default in version 2.2 how many child processes are created at apache startup? When is created another one? Thanks - The offi

Re: [us...@httpd] 404 when first visit if userdir is mounted using autofs

2009-03-11 Thread Justin Pasher
Tz-Huan Huang wrote: Hi, In our www server the /home/* is mounted automatically using autofs. When visiting a user's homepage via http://hostname/~user first time, the httpd says ``404 not found'', but after reloading page several times all thing works. Is there any way to avoid this annoying

[us...@httpd] Apache processes

2009-03-11 Thread Andrew Hole
Hi! By default in version 2.2 how many child processes are created at apache startup? When is created another one? Thanks

Re: [us...@httpd] Re: Regarding "" directive in httpd.conf

2009-03-11 Thread André Warnier
sathya sai wrote: [...] Not that I know of. You can always start apache with a different httpd.conf configuration file, also using a command-line parameter. So you could have a httpd-ssl.conf and a httpd-nossl.conf configuration file, and decide to start Apache with either one or the other, thr

Re: [us...@httpd] Re: Regarding "" directive in httpd.conf

2009-03-11 Thread sathya sai
Presently based on the existance of SSL cert/key files, my application decides either to start apache with (or) without "-D SSL" command line. And the corresponding derivatives for SSL configuration being wrapped under "" clause. Due to some architectural constraint in my application, I am plannin

Re: [us...@httpd] Re: Regarding "" directive in httpd.conf

2009-03-11 Thread André Warnier
sathya sai wrote: [...] Well of course you can remove the lines from your httpd.conf, and comment/uncomment the corresponding lines themselves. But it is a lot less flexible. Also, depending on your platform and package setup, there may be other ways to achieve this. But since you did not t

Re: [us...@httpd] Port-based vhosts

2009-03-11 Thread André Warnier
Charles Sprickman wrote: [...] Under what conditions does Apache then get involved and alter the URL? Just redirects? I understand a common redirect is just adding a trailing slash when the user does not supply it. What are some other common cases? Who's call is it when a simple static sit

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-11 Thread Nakul Vishwas Natu
Hello, Please find below,output for ls -al as well as ldd for /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl % ls -al loginmod22.sl -rwxr-xr-x 1 cqsmokecqdev 2915688 Feb 11 14:14 loginmod22.sl % ldd loginmod22.sl /usr/lib/librt.2 => /usr/lib/librt

[us...@httpd] Re: Regarding "" directive in httpd.conf

2009-03-11 Thread sathya sai
To be more clearer, it would be really helpful if you could let me know the means by which we can dynamically update the httpd.conf to enable/disable a particular marco similar to "-DSSL" which does in command line. On Wed, Mar 11, 2009 at 2:13 PM, sathya sai wrote: > Hi Apache folks, > > This is

[us...@httpd] Regarding "" directive in httpd.conf

2009-03-11 Thread sathya sai
Hi Apache folks, This is regarding "" directive in httpd.conf for apache-2.2.x . My httpd.conf had all SSL related configuration wrapped under as below, SSLCertificateFile conf/ssl/server.crt SSLCertificateKeyFile conf/ssl/server.key ... Till now based on the system configuration,

Re: [us...@httpd] Port-based vhosts

2009-03-11 Thread Krist van Besien
On Wed, Mar 11, 2009 at 4:35 AM, Charles Sprickman wrote: > > > What you need to do is check what's in the "Host" header, and if it >> doesn't match the ServerName send a redirect. >> >> RewriteEngine On >> RewriteCond %{HTTP_HOST} !^www\.foo\.com [NC] >> RewriteCond %{HTTP_HOST} !="" >> Rew

Re: [us...@httpd] Port-based vhosts

2009-03-11 Thread Krist van Besien
On Wed, Mar 11, 2009 at 4:35 AM, Charles Sprickman wrote: > > OK. That makes perfect sense. At this point, my main concern is actually > understanding how this works. When I was reading the docs on > "UseCanonicalName" ( > http://httpd.apache.org/docs/2.2/mod/core.html#usecanonicalname) I noti