RE: [users@httpd] Android device ID not show on access_log

2012-12-06 Thread Chau Pham
Thank you so much, both of you who answered me,I was wrong when not mentioned about the header. the header, it is "User-Agent" passed to apache server(version 2.2.15)in apache configuration, i used: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" " combined The option

Re: [users@httpd] Android device ID not show on access_log

2012-12-06 Thread Rich Bowen
On Dec 6, 2012, at 7:50 PM, Chau Pham wrote: > No, it isn't a header, it's just general situation. Client information is passed to apache httpd via headers. In this case, it would be in the HTTP_USER_AGENT header, which, when I access my server from my Android device, looks like Mozilla/5.0 (

RE: [users@httpd] Android device ID not show on access_log

2012-12-06 Thread Chau Pham
No, it isn't a header, it's just general situation. I know that apache has a very exellence way to wirte access log for client who use general computer or laptop/notepbook accessing to apache server. in case user uses PC/notebook/laptop, apache writes unique IP address to access_log, in case us

Re: [users@httpd] Building Apache for Windows

2012-12-06 Thread Alex Chen
I tried Visual Studio 2008 first but got a lot error messages saying the project files are corrupted. So I resorted to use command line tool but it still failed. These are the error messages: = C:\Projects\Apache\HTTP Server\2.4.3\httpd-2.4.3>nmake /f Makefile.win _apacher Microsof

[users@httpd] Building Apache for Windows

2012-12-06 Thread Alex Chen
I am trying to build Apache 2.4 on Windows 7 with Visual Studio 2012. In the document page http://httpd.apache.org/docs/2.4/platform/win_compiling.html, it says the workspace file to be used is Apache.dsw. However there is another Apache-apr2.dsw that is newer and has similar projects include

[users@httpd] installing apache n php problem

2012-12-06 Thread georg
Hi, Im trying to install Apache (2.0.4) with PHP (5.2.17), Server responds well before editing conf\ httpd.conf and inserting the loadmodule directive for phpapache2_2.dll; the the server responds that it says it does not find the file (index.html) which it finds without the PHP (though i have

[users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-06 Thread Pepe
I have an apache server with 3 virtual host (all DNS work already done): http://www1.example.com --> listens on port 80 http://www2.example.com --> listens on port 80 with required user authentication https://wwwsecure.example.com --> listens on port 443 Everyone with different DocumentRoot. Ever

Re: [users@httpd] re-write rule

2012-12-06 Thread Tonu Mikk
Thanks! Got it working. Your example and suggestion to enable rewrite logging helped a great deal. Tonu On Thu, Dec 6, 2012 at 10:46 AM, Pete Houston wrote: > Your regex in this line: > > RewriteRule ^stuff$ > https://diversity.umn.edu/disability/request/exam[R=301,L] > > does not match stuf

Re: [users@httpd] In what condition, can this log message be printed?

2012-12-06 Thread Tianyin Xu
Hi, Tom, Your read the code too fast :-P Yes, it's "#ifndef", which means if you do NOT define DEBUG, you will go inside the block and return. :-) So it only logs when you define the DEBUG. My first reaction is exactly as you suggested, trying to tune the LogLevel. But it does NOT help, i.e., wha

Re: [users@httpd] re-write rule

2012-12-06 Thread Pete Houston
Your regex in this line: RewriteRule ^stuff$ https://diversity.umn.edu/disability/request/exam[R=301,L] does not match stuff.html so you could change it to ^/stuff\.html$ or similar. Enable the rewrite log if you want to see what the rewrite engine is doing in detail. Good luck, Pete -- Openst

[users@httpd] re-write rule

2012-12-06 Thread Tonu Mikk
Hello, I have the following Virtual Host where I am trying to set rewrite rules. I have one specific page madev.oed.umn.edu/stuff.html which I am trying to redirect to https://diversity.umn.edu/disability/request/exam location. All the other pages are redirected to a single page: https://diversit

Re: [users@httpd] Android device ID not show on access_log

2012-12-06 Thread Eric Covener
> how can I configure apache server to show Android device ID? Is it part of a header? If so, which one? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] In what condition, can this log message be printed?

2012-12-06 Thread Tom Evans
On Thu, Dec 6, 2012 at 8:02 AM, Tianyin Xu wrote: > Hi, Eric, > > I'm sorry for the disturbing for this problem. > > I used GDB to trace the code, in the hope of understanding why httpd never > print that log message. > > Basically, that following code print out the log message: > > /* server/mpm/

[users@httpd] Android device ID not show on access_log

2012-12-06 Thread Chau Pham
Good Evening Everybody, I would like to ask you about apache access_log I use apple device to access to apache sever on centos, then I checked access_log in /var/log/httpd/access_logI can see any apple device ID. However, when I use some android device like samsung or smartphone that use android

Re: [users@httpd] In what condition, can this log message be printed?

2012-12-06 Thread Tianyin Xu
Hi, Eric, I'm sorry for the disturbing for this problem. I used GDB to trace the code, in the hope of understanding why httpd never print that log message. Basically, that following code print out the log message: /* server/mpm/event/event.c */ 3182 ap_log_error(APLOG_MARK, APLOG_INFO,