[users@httpd] Apache 2.4 memcached module not caching

2014-08-06 Thread Solo Luke
Hi I did this configuration:

IfModule cache_module

  IfModule cache_socache_module
CacheSocache memcache:localhost:11211
CacheSocacheMaxSize 512000
CacheSocacheMaxTime 86400

 Location /api
   CacheEnable memcache /
  /Location

  /IfModule

/IfModule

Unfortunately the memcache module does not cache the response in memcached
server. What is wrong?

I want that after first request-response the Apache to cache to server
response in memcached and feature requests to be fetched from memcached.

Is this configuration doing what I want?

I checked the memcached keys but no key is inserted.

Kind regards,
Danny


[users@httpd] Apache conf, AuthLDAPUrl : how to discover the service ?

2014-08-06 Thread Olivier
Hi everyone,

I have configured apache to authentify users over ldap (module :
mod_ldap.so, mod_authnz_ldap.so, AuthBasicProvider ldap).

For redundancy, I have several ldap servers that are synchronized between
them.

I also have configured ldap discovery service based on DNS srv records:

$ dig +noall +answer _ldap._tcp.example.fr srv

returns the list of ldap servers can respond to an ldap request :

   _ldap._tcp.example.fr. 172800 INSRV20 0 389 ldap02.example.fr.
   _ldap._tcp.example.fr. 172800 INSRV10 0 389 ldap01.example.fr.

Is there any way to honor SRV records and to use them in apache
configuration to discover ldap service rather than hardcoding the list
of ldap servers in AuthLDAPUrl ?

Thanks for any help on that issue,

---
Olivier


[users@httpd] Order of applicatoin of sites-enabled configs

2014-08-06 Thread M Busche
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?

Thanks,
Matt

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] ServerName usage

2014-08-06 Thread M Busche
Hi,


If I only have ServerName declarations in the scope of my virtualhost 
directives, then I get a complaint at startup that apache couldn't figure out 
what my domain name is.  To make this warning go away, I added another 
ServerName entry at global scope (in apache2.conf).  But this seems weird to 
me.  Am I doing something wrong?  If I've done right, then why do I need to 
specify my ServerName in multiple places?  If I'm running virtual hosts, then 
which domain name do I put at global scope?


Thanks for any clarification you can offer.

Matt


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] ServerName usage

2014-08-06 Thread Daniel
nothing wrong, on startup httpd checks by default in core config if
 servername used can resolve to something that exists, this is by default
core config.

Just add something that resolves through your local dns or ignore the
warning, since you are just concerned with the virtualhosts that will do
the actual work.


2014-08-06 11:25 GMT+02:00 M Busche spammymat...@yahoo.com.invalid:

 Hi,


 If I only have ServerName declarations in the scope of my virtualhost
 directives, then I get a complaint at startup that apache couldn't figure
 out what my domain name is.  To make this warning go away, I added another
 ServerName entry at global scope (in apache2.conf).  But this seems weird
 to me.  Am I doing something wrong?  If I've done right, then why do I need
 to specify my ServerName in multiple places?  If I'm running virtual hosts,
 then which domain name do I put at global scope?


 Thanks for any clarification you can offer.

 Matt


 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




Re: [users@httpd] Order of application of sites-enabled configs

2014-08-06 Thread Pete Houston
On Wed, Aug 06, 2014 at 02:20:26AM -0700, M Busche wrote:
 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?

Yes, it's explained in
http://httpd.apache.org/docs/2.4/mod/core.html#include
which specifies (among other very useful information), Shell-style
(fnmatch()) wildcard characters can be used in the filename or directory
parts of the path to include several files at once, in alphabetical
order.

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107


pgpNwl3lHJDuf.pgp
Description: PGP signature


Re: [users@httpd] Apache 2.4 memcached module not caching

2014-08-06 Thread Eric Covener
On Wed, Aug 6, 2014 at 4:56 AM, Solo Luke sololuke2...@gmail.com wrote:
 Unfortunately the memcache module does not cache the response in memcached
 server. What is wrong?


Try removing all of the ifModule directives as a start.  Then set
loglevel trace8 and have a look at the logs.

-- 
Eric Covener
cove...@gmail.com

-
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

2014-08-06 Thread Eric Covener
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] Apache 2.4 memcached module not caching

2014-08-06 Thread Solo Luke
Did that but nothing in the error log.

Here is what I have in logs:

[Wed Aug 06 17:08:49.217652 2014] [core:trace5] [pid 28059:tid
140264647657216] protocol.c(618): [client 192.168.1.113:7899] Request
received from client: GET /api/1.jpg HTTP/1.1
[Wed Aug 06 17:08:49.217723 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(301): [client 192.168.1.113:7899] Headers
received from client:
[Wed Aug 06 17:08:49.217728 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Host:
192.168.1.127
[Wed Aug 06 17:08:49.217731 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101
Firefox/31.0
[Wed Aug 06 17:08:49.217733 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[Wed Aug 06 17:08:49.217735 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
Accept-Language: en-US,en;q=0.5
[Wed Aug 06 17:08:49.217737 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
Accept-Encoding: gzip, deflate
[Wed Aug 06 17:08:49.217763 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]   DNT: 1
[Wed Aug 06 17:08:49.217766 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
X-ClickOnceSupport: ( .NET CLR 3.5.30729; .NET4.0E)
[Wed Aug 06 17:08:49.217768 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
Connection: keep-alive
[Wed Aug 06 17:08:49.217770 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
If-Modified-Since: Mon, 04 Aug 2014 15:08:06 GMT
[Wed Aug 06 17:08:49.217772 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
If-None-Match: \\1c7bd-4ffcf1b2ba180\\
[Wed Aug 06 17:08:49.217774 2014] [http:trace4] [pid 28059:tid
140264647657216] http_request.c(305): [client 192.168.1.113:7899]
Cache-Control: max-age=0
[Wed Aug 06 17:08:49.217810 2014] [authz_core:debug] [pid 28059:tid
140264647657216] mod_authz_core.c(802): [client 192.168.1.113:7899]
AH01626: authorization result of Require all granted: granted
[Wed Aug 06 17:08:49.217828 2014] [authz_core:debug] [pid 28059:tid
140264647657216] mod_authz_core.c(802): [client 192.168.1.113:7899]
AH01626: authorization result of RequireAny: granted
[Wed Aug 06 17:08:49.217832 2014] [core:trace3] [pid 28059:tid
140264647657216] request.c(238): [client 192.168.1.113:7899] request
authorized without authentication by access_checker_ex hook: /api/1.jpg
[Wed Aug 06 17:08:49.218903 2014] [http:trace3] [pid 28059:tid
140264647657216] http_filters.c(963): [client 192.168.1.113:7899] Response
sent with status 304, headers:
[Wed Aug 06 17:08:49.218923 2014] [http:trace5] [pid 28059:tid
140264647657216] http_filters.c(970): [client 192.168.1.113:7899]   Date:
Wed, 06 Aug 2014 14:08:49 GMT
[Wed Aug 06 17:08:49.218927 2014] [http:trace5] [pid 28059:tid
140264647657216] http_filters.c(973): [client 192.168.1.113:7899]   Server:
Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.30


IfModule cache_module
IfModule cache_socache_module
 CacheSocache memcache:localhost:11211
 CacheSocacheMaxSize 512000
 CacheSocacheMaxTime 86400
   Location /api
   CacheEnable memcache
   /Location
 /IfModule
/IfModule

I removed IfModule and I get errors.



On Wed, Aug 6, 2014 at 2:06 PM, Eric Covener cove...@gmail.com wrote:

 On Wed, Aug 6, 2014 at 4:56 AM, Solo Luke sololuke2...@gmail.com wrote:
  Unfortunately the memcache module does not cache the response in
 memcached
  server. What is wrong?


 Try removing all of the ifModule directives as a start.  Then set
 loglevel trace8 and have a look at the logs.

 --
 Eric Covener
 cove...@gmail.com

 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




Re: [users@httpd] Apache 2.4 memcached module not caching

2014-08-06 Thread Eric Covener
On Wed, Aug 6, 2014 at 10:28 AM, Solo Luke sololuke2...@gmail.com wrote:
 I removed IfModule and I get errors.

That's the point. You need to load modules you want used.

-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Apache 2.4 PHP 5.5

2014-08-06 Thread motty cruz
Hello, I just finished installing Apache 2.4 and PHP 5.5 on FreeBSD 10, but
Apache 2.4 is not loading PHP. can someone help me with this issue?

Thanks in advance


Re: [users@httpd] Order of applicatoin of sites-enabled configs

2014-08-06 Thread M Busche
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] Order of applicatoin of sites-enabled configs

2014-08-06 Thread Francois Gingras
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




[users@httpd] Re: Apache 2.4 PHP 5.5

2014-08-06 Thread Good Guy

On 06/08/2014 15:57, motty cruz wrote:
Hello, I just finished installing Apache 2.4 and PHP 5.5 on FreeBSD 
10, but Apache 2.4 is not loading PHP. can someone help me with this 
issue?


Thanks in advance


What platform?  Windows?  I can help you with windows but not Linux.






Re: [users@httpd] Apache 2.4 PHP 5.5

2014-08-06 Thread Jeff Trawick
On Wed, Aug 6, 2014 at 10:57 AM, motty cruz motty.c...@gmail.com wrote:

 Hello, I just finished installing Apache 2.4 and PHP 5.5 on FreeBSD 10,
 but Apache 2.4 is not loading PHP. can someone help me with this issue?

 Thanks in advance



error messages?


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/


Re: [users@httpd] ApacheCon CFP closes June 25

2014-08-06 Thread J.Lance Wilkinson

Rich Bowen wrote:


On 06/16/2014 11:06 AM, J.Lance Wilkinson wrote:

...snip...

Those of us at edu sites sometimes need to put in for travel/training
funding as much as a year in advance, and my own institution's
budgeting process cuts of June 30th for the Fiscal Year 2014-2015.



...snip...
ACNA 2015 will be in roughly the same timeframe as ACNA 2014 was (ie, 
April) and we're currently working on locations. I'll be announcing 
dates and location at ACEU, at the very latest. Hopefully well before then.


Anything firmer yet besides roughly April 2015 for those of us who
desperately need to put in for funding?

--
J.Lance Wilkinson (Lance)   InterNet: lance.wilkin...@psu.edu
Systems Design Specialist - LeadPhone: (814) 865-4870
Information Technology Services FAX:   (814) 863-3560
Penn State University
ITS Services and Solutions (SaS), E3 Paterno Library, University Park, PA 16802
http://ucs.psu.edu/home/jl...@psu.edu?fmt=freebusy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-08-06 Thread Eric Covener
Any word on this? Safe to assume it did not occur prior to 2.4.10?  Do
you just have setoutputfilter DEFLATE or something else?


On Sun, Jul 27, 2014 at 8:23 AM, Jeff Trawick traw...@gmail.com wrote:
 On Sat, Jul 26, 2014 at 10:58 AM, ulrich.her...@t-systems.com wrote:

 Hi,



 Is it possible that mod_deflate is configured, perhaps unexpectedly, to
 decompress the response from the backend via an input filter?





 ð  Yes, for sure. mod_deflate is enabled and we compress the
 (uncompressed) response from the backend before sending to the clients.



 See
 http://httpd.apache.org/docs/current/mod/mod_deflate.html#deflateinflatelimitrequestbody
 (new with 2.4.10)



 ð  So, you think, that our compressed body is too large sometimes, and we
 got “no space” because of this ?


 I think it is possible to get that error with proxy when a compressed
 response from a backend server is relatively large.

 Are you seeing any warning messages in the log from mod_deflate?  What is
 the log level that applies to mod_deflate?  (Or, what is your LogLevel
 directive if that doesn't make sense to you ;) )  You'd need to see log
 level warn to check this theory on mod_deflate.

 Another case is with the http layer returning ENOSPC when exceeding a
 similar limit when the body is not compressed.  The log level for http must
 log info messages.

 If your log level is higher than info (e.g., error), try something like

 LogLevel error http:info deflate:warn

 to see log messages that could pinpoint exactly where the error comes from.



 Uli





 Von: Jeff Trawick [mailto:traw...@gmail.com]
 Gesendet: Freitag, 25. Juli 2014 17:10
 An: users@httpd.apache.org
 Betreff: Re: [users@httpd] [proxy_http:error] [pid 13256:tid
 47013272524544] (11)Resource temporarily unavailable: [client
 172.31.0.142:21815] AH01110: error reading response



 On Fri, Jul 25, 2014 at 10:49 AM, Tom Evans tevans...@googlemail.com
 wrote:

 On Fri, Jul 25, 2014 at 11:37 AM,  ulrich.her...@t-systems.com wrote:
  Hi,
 
  we have apaches as reverse proxies for some tomcat and wso2-application
  servers.
 
  We get this error message on a high-load-webserver:
 
  [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource
  temporarily
  unavailable: [client 172.31.0.142:21815] AH01110: error reading response
 
  And we have no clue, which resource is unavailable and what to do
  against
  it.
 
  Apache-2.4.10 / apr-1.5.1
 
  Ulimit of apache-user:
  core file size  (blocks, -c) 0
  data seg size   (kbytes, -d) unlimited
  scheduling priority (-e) 0
  file size   (blocks, -f) unlimited
  pending signals (-i) 4
  max locked memory   (kbytes, -l) 655360
  max memory size (kbytes, -m) unlimited
  open files  (-n) 655360
  pipe size(512 bytes, -p) 8
  POSIX message queues (bytes, -q) 819200
  real-time priority  (-r) 0
  stack size  (kbytes, -s) unlimited
  cpu time   (seconds, -t) unlimited
  max user processes  (-u) 655360
  virtual memory  (kbytes, -v) unlimited
  file locks  (-x) unlimited
 
  $ cat /proc/sys/kernel/threads-max
  2065067
 
 
  So, I don’t see any visible shortage of anything.
 
 
  Any ideas how to find the reason for this error ?
 
  Uli
 

 Running out of shm?

 How are you proxying to tomcat (http/ajp/jk2)?



 The message comes from mod_proxy_http, so http it is.



 Looking at how to get the ENOSPC error in that particular context, I see
 that several pieces of code can return ENOSPC based on exceeding some
 configured limit, but most don't apply to the path where that message is
 issued.



 Is it possible that mod_deflate is configured, perhaps unexpectedly, to
 decompress the response from the backend via an input filter?



 See
 http://httpd.apache.org/docs/current/mod/mod_deflate.html#deflateinflatelimitrequestbody
 (new with 2.4.10)  That is part of a fix to vulnerability CVE-2014-0118.






 Cheers

 Tom

 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org





 --

 Born in Roswell... married an alien...
 http://emptyhammock.com/

 http://edjective.org/






 --
 Born in Roswell... married an alien...
 http://emptyhammock.com/
 http://edjective.org/




-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Calls not hanging up

2014-08-06 Thread D'Arcy J.M. Cain
This just started after upgrading to 11.11.0.  After a call is
completed (both ends hang up) the call still shows as active.

# asterisk -x core show channels
Channel  Location State   Application(Data)
SIP/thinktel-000 (None)   Up  AppDial((Outgoing
Line)) SIP/4164251212-0 416555@LocalSets Up
Dial(SIP/thinktel/416555) 2 active channels
1 active call
1 call processed

The 1212 number is mine and is hung up.  I even rebooted my ATA to make
sure that it wasn't holding the line.  My dialplan is extremely
simple.  In fact, I even simplified it from what it was for this
testing.  Here it is.

exten = 4164251212,1,Verbose(0, ${CALLERID(all)} Calling ${EXTEN})
same = n,Dial(SIP/4164251212,30)
same = n,VoiceMail(4164251212@LocalSets,u)
same = n,Hangup()

I can post any other log or config excerpts if someone thinks that they
are relevant but all of this was working under 11.10.2.

Thanks.

-- 
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] Calls not hanging up

2014-08-06 Thread Jeff Trawick
On Wed, Aug 6, 2014 at 2:28 PM, D'Arcy J.M. Cain da...@vex.net wrote:

 This just started after upgrading to 11.11.0.  After a call is
 completed (both ends hang up) the call still shows as active.

 # asterisk -x core show channels
 Channel  Location State   Application(Data)
 SIP/thinktel-000 (None)   Up  AppDial((Outgoing
 Line)) SIP/4164251212-0 416555@LocalSets Up
 Dial(SIP/thinktel/416555) 2 active channels
 1 active call
 1 call processed


I don't know what that software is, but it isn't supported here.

Good luck.


 The 1212 number is mine and is hung up.  I even rebooted my ATA to make
 sure that it wasn't holding the line.  My dialplan is extremely
 simple.  In fact, I even simplified it from what it was for this
 testing.  Here it is.

 exten = 4164251212,1,Verbose(0, ${CALLERID(all)} Calling ${EXTEN})
 same = n,Dial(SIP/4164251212,30)
 same = n,VoiceMail(4164251212@LocalSets,u)
 same = n,Hangup()

 I can post any other log or config excerpts if someone thinks that they
 are relevant but all of this was working under 11.10.2.

 Thanks.

 --
 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




-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/


Re: [users@httpd] Apache 2.4 PHP 5.5

2014-08-06 Thread Jeff Trawick
On Wed, Aug 6, 2014 at 1:07 PM, Jeff Trawick traw...@gmail.com wrote:

 On Wed, Aug 6, 2014 at 10:57 AM, motty cruz motty.c...@gmail.com wrote:

 Hello, I just finished installing Apache 2.4 and PHP 5.5 on FreeBSD 10,
but Apache 2.4 is not loading PHP. can someone help me with this issue?

 Thanks in advance



 error messages?


I probably read too much into loading.

What exactly is the symptom?
Have you read this?  http://php.net/manual/en/install.unix.apache2.php
What is your configuration?

With the LoadModule for php and

FilesMatch \.php$
SetHandler application/x-httpd-php
/FilesMatch


it should be trivial to get some simple test.php working.  (test.ph
contains the classic ?php phpinfo(); ?


Re: [users@httpd] Apache 2.4 PHP 5.5

2014-08-06 Thread motty cruz
Thanks, I created index.php with the following:
?php
   phpinfo();
?

when I go to localhost, it download file.

I don't get an error,

Thanks again,


On Wed, Aug 6, 2014 at 12:04 PM, Jeff Trawick traw...@gmail.com wrote:

 On Wed, Aug 6, 2014 at 1:07 PM, Jeff Trawick traw...@gmail.com wrote:
 
  On Wed, Aug 6, 2014 at 10:57 AM, motty cruz motty.c...@gmail.com
 wrote:
 
  Hello, I just finished installing Apache 2.4 and PHP 5.5 on FreeBSD 10,
 but Apache 2.4 is not loading PHP. can someone help me with this issue?
 
  Thanks in advance
 
 
 
  error messages?


 I probably read too much into loading.

 What exactly is the symptom?
 Have you read this?  http://php.net/manual/en/install.unix.apache2.php
 What is your configuration?

 With the LoadModule for php and

 FilesMatch \.php$
 SetHandler application/x-httpd-php
 /FilesMatch


 it should be trivial to get some simple test.php working.  (test.ph
 contains the classic ?php phpinfo(); ?




Re: [users@httpd] Apache 2.4 PHP 5.5

2014-08-06 Thread Edgar Pettijohn
Did you install from ports or packages?

Post /var/log/httpd-error.log and /usr/local/etc/apache24/httpd.conf

On 08/06/2014 03:38 PM, motty cruz wrote:
 Thanks, I created index.php with the following: 
 ?php 
phpinfo();
 ?

 when I go to localhost, it download file. 

 I don't get an error, 

 Thanks again, 


 On Wed, Aug 6, 2014 at 12:04 PM, Jeff Trawick traw...@gmail.com
 mailto:traw...@gmail.com wrote:

 On Wed, Aug 6, 2014 at 1:07 PM, Jeff Trawick traw...@gmail.com
 mailto:traw...@gmail.com wrote:
 
  On Wed, Aug 6, 2014 at 10:57 AM, motty cruz
 motty.c...@gmail.com mailto:motty.c...@gmail.com wrote:
 
  Hello, I just finished installing Apache 2.4 and PHP 5.5 on
 FreeBSD 10, but Apache 2.4 is not loading PHP. can someone help me
 with this issue?
 
  Thanks in advance
 
 
 
  error messages?


 I probably read too much into loading.

 What exactly is the symptom?
 Have you read this?  http://php.net/manual/en/install.unix.apache2.php
 What is your configuration?

 With the LoadModule for php and

 FilesMatch \.php$
 SetHandler application/x-httpd-php
 /FilesMatch


 it should be trivial to get some simple test.php working.
  (test.ph http://test.ph contains the classic ?php phpinfo(); ?





[users@httpd] Re: Apache 2.4 PHP 5.5

2014-08-06 Thread Good Guy

On 06/08/2014 21:38, motty cruz wrote:

Thanks, I created index.php with the following:
?php
   phpinfo();
?

when I go to localhost, it download file.

I don't get an error,





Well I don't know what it means it download file because that small 
file is not supposed to download anything but it should show something 
like this:


PhP-Info 
http://content.screencast.com/users/JT19560819/folders/Jing/media/b24b1096-bdcd-430d-aa14-682182b5a980/2014-08-07_0133.png


Do you get anything like this?  If so then PHP module is working but it 
might need some tinkering if something doesn't work.





[users@httpd] RewriteEngine conditions?

2014-08-06 Thread Mark jensen
I want to redirect all the inside network IPs to an error page except some IPs, 
A condition like this:

if ( IP_from_Network = 192.168.1.0 and ((IP != 192.168.1.4) or (IP != 
192.168.1.5) or (IP != 192.168.1.6)) )
{
redirect to an error page
}

so I' trying to achieve this using RewriteEngine:

 RewiteEngine On
  RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.4$  [NC]
  RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.5$  [NC]
  RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.6$  [NC]
  RewriteCond   %{REMOTE_ADDR}   ^192\.168\.1\.*$  [NC]
  RewriteCond    %{REQUEST_URI}   ^/test/manager/.* [NC]
  RewriteRule    ^(.*)$   - [R=404,L]

Is this would do what I want or should I use other tags like [OR]?
  
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org