IIRF ProxyPass ignored - iirf

I'm using IIRF, IIS 6.0, W2k3.
I'm trying to use ProxyPass, as follows:
RewriteLog c:\temp\iirfLog.log
RewriteLogLevel 3
RewriteFilterPriority HIGH
ProxyPass ^/foo/(.*)$ http://www.example.com/$1 [I]
but it never works. The IIRF log shows:
Wed Jun 30 13:19:54 - 6120 - ReadConfig: setting LogLevel to 3
Wed Jun 30 13:19:54 - 6120 - ReadConfig: line 13: RewriteFilterPriority HIGH
Wed Jun 30 13:19:54 - 6120 - ReadConfig: Filter Priority is now: HIGH (0x80000)
Wed Jun 30 13:19:54 - 6120 - ReadConfig: WARNING: line 14: Ignoring line: 'ProxyPass'
Any suggestions?

I'll answer my own question. Turns out we were running a very old version of IIRF. I updated to the latest version, and ProxyPass works now.

Related

Unable to access SSRS 2016 portal externally

I have installed SSRS 2016 on windows 2012 server R2. The SQL server 2016 is configured correctly and TCP enabled. It seems like I can not access the report portal from my machine using my network ID even though I can access it from some servers that are hosted on the same cloud.
I have been trying to find out a reason or a clue but I am really out of ideas. The firewall of the server is disabled and the windows service of SSRS is running under a service account as well as the SQL server instance.
I opened up the service exe file from VS to get more trace logs as the log file doesn't have any error to indicate or direct me on warning or error message unlike the verbose entries I got from the service Console application. Please let me know if you have encountered or seen anything like that before .. I am really puzzled and going nuts !!
Info - 4:22:55 PM - Setting up Debug CRT libraries
Warning - 4:22:55 PM - %_NTDRIVE% not defined... Skipping
Info - 4:22:56 PM - Starting ReportServerWebApp
Info - 4:22:56 PM - Working directory : C:\Program Files\Microsoft
SQL Server\MSRS13.SQL16\Reporting Services\RSWebApp
Info - 4:22:56 PM - Report Server url:
http://localhost:80/reportsdemo
Info - 4:22:56 PM - Report Server Web App virtual root:
/DemoReports
Info - 4:22:56 PM - Web app url: http://+:80/DemoReports/
Info - 4:22:56 PM - Authentication scheme(s): Ntlm
Info - 4:22:56 PM - Registering 0 : AuthSchemeConfig
Info - 4:22:56 PM - Registering 5 : RequestLoggingConfig
Info - 4:22:56 PM - Registering 10 : CustomAuthenticationConfig
Info - 4:22:56 PM - Registering 20 : BasicAuthenticationConfig
Info - 4:22:56 PM - Registering 25 : RequestThrottlingConfig
Info - 4:22:56 PM - Registering 30 : CsrfTokenCreationConfig
Info - 4:22:56 PM - Registering 40 : LanguageConfig
Info - 4:22:56 PM - Registering 50 : XFrameOptionsConfig
Info - 4:22:56 PM - Registering 50 : ClassicUrlRedirecterConfig
Info - 4:22:56 PM - Registering 50 : PopulateHeadersConfig
Info - 4:22:56 PM - Registering 53 : LocalRequestMiddlewareConfig
Info - 4:22:56 PM - Registering 55 : ClassicUrlRewriterConfig
Info - 4:22:56 PM - Registering 100 : FileSystemConfig
Info - 4:22:56 PM - Registering 190 : ServiceUnavailableConfig
Info - 4:22:56 PM - Registering 200 : DatabaseAvailableConfig
Info - 4:22:56 PM - Registering 300 : CsrfTokenValidationConfig
Info - 4:22:56 PM - Registering 500 : WebApiOwinConfig
Info - 4:22:57 PM - Registering 600 : ODataWebApiOwinConfig
Verbose - 4:23:02 PM - [nh78byvq]: Request received
Warning - 4:23:02 PM - [nh78byvq]: CSRF Token not generated due to
exception:
Microsoft.ReportingServices.Diagnostics.Utilities.CannotValidateEncryptedDataException:
The report server was unable to validate the integrity of encrypted
data in the database.
Verbose - 4:23:03 PM - [nh78byvq]: 10.206.197.30: GET /index.html -
Response 304- 0:00:00.1191454
Verbose - 4:23:03 PM - [r0eyb35z]: Request received
Warning - 4:23:03 PM - [r0eyb35z]: CSRF Token not generated due to
exception:\n
Microsoft.ReportingServices.Diagnostics.Utilities.CannotValidateEncryptedDataException:
The report server was unable to validate the integrity of encrypted
datain the database.

Not able to start node server

I am getting the following error when I try to start the server manually or from command prompt.
Stopping NodeJS cartridge
Sun Dec 20 2015 10:29:20 GMT-0500 (EST): Stopping application 'nodejs' ...
Sun Dec 20 2015 10:29:20 GMT-0500 (EST): Stopped Node application 'nodejs'
Starting NodeJS cartridge
Sun Dec 20 2015 10:29:21 GMT-0500 (EST): Starting application 'nodejs' ...
Waiting for application port (8080) become available ...
Application 'nodejs' failed to start (port 8080 not available)
Failed to execute: 'control restart' for /var/lib/openshift/5671bca50c1e66a111000114/nodejs
Please provide any solution. Thanks in advance.

On aws ec2 the phpmy admin does not show edit delete options

php my admin
I have installed the same version of phpmyadmin on my local and aws instance but on aws it is not showing edit delete option.
{
img text
[BLOB - 4.6 KiB] Tue Jun 16 12:37:42 IST 2015
[BLOB - 2.4 MiB] Tue Jun 16 12:39:54 IST 2015
}
you can add auto increment option in any field or an index

Google Chrome filling Fedora syslog

Fedora 20 (was also happening on Fedora 19 before I upgraded last week), Google Chrome (stable) package google-chrome-stable-37.0.2062.120-1.x86_64.
My /var/log/messages file is getting filled with tons of messages of this format:
Sep 17 11:21:38 xxxxxx /etc/gdm/Xsession[15691]: [14334:14836:0917/112138:ERROR:value_store_frontend.cc(62)] Error while writing pkehgijcmpdhfbdbbnkijodmdjhbjlgp.browser_action to /home/user/.config/google-chrome/Default/Extension State
That directory looks like this:
$ ls -la '/home/user/.config/google-chrome/Default/Extension State'
total 37236
drwxrwx---. 2 user user 4096 Sep 17 11:25 .
drwx------. 18 user user 4096 Sep 17 11:25 ..
-rwxrwx---. 1 user user 2422 May 7 2013 000473.sst
-rwxrwx---. 1 user user 383609 May 9 2013 000475.sst
-rwxrwx---. 1 user user 452513 May 10 2013 000478.sst
-rwxrwx---. 1 user user 611630 May 10 2013 000481.sst
-rwxrwx---. 1 user user 4023516 May 14 2013 000484.sst
-rwxrwx---. 1 user user 4174557 May 16 2013 085503.sst
-rwxrwx---. 1 user user 4176130 May 17 2013 168720.sst
-rwxrwx---. 1 user user 4176130 May 21 2013 207630.sst
-rwxrwx---. 1 user user 654387 May 22 2013 207632.sst
-rwxrwx---. 1 user user 4174557 May 23 2013 286790.sst
-rwxrwx---. 1 user user 3369565 May 29 2013 286792.sst
-rwxrwx---. 1 user user 4174557 May 30 2013 311947.sst
-rwxrwx---. 1 user user 3517042 Jun 3 2013 311949.sst
-rwxrwx---. 1 user user 4191834 Jun 5 2013 311953.log
-rwxrwx---. 1 user user 16 Jun 3 2013 CURRENT
-rwxrwx---. 1 user user 0 Aug 15 2012 LOCK
-rw-rw-r--. 1 user user 0 Sep 17 11:25 LOG
-rw-rw-r--. 1 user user 0 Sep 17 11:25 LOG.old
-rwxrwx---. 1 user user 1867 Jun 4 2013 MANIFEST-311951
SELinux is in permissive mode, and all of the above have context unconfined_u:object_r:config_home_t:s0.
There's nothing relevant in /var/log/audit/audit.log, and I haven't found anything about this online. (Yet, at least.)
Has anyone seen this/know what's causing it/know what to do about it?
Thanks!
For me, simply deleting the contents of the 'Extension State' directory didn't have any deleterious effects, and seems to have fixed the problem. I'm not sure what those files are for, perhaps a temporary state cache for extensions (Doing nothing but switching tabs causes the error/files to be written), but they don't seem to be particularly important to save.
I suspect the problem gets caused if the system is shutdown improperly or Chrome crashes and it gets left in an odd state.

Mercurial track changes of a line

I am curious if there is a possibility to see the changes of a file, in an automatic way that have occurred to a line using Mercurial...
Concrete case: at some time in the past, a few months ago a line in our code (file: MainWindow.cpp line number 219) was changed by someone, and noone remembers when and what was there before, we just know that the stuff we have now is not working :( and we would like to see why (and most importantly when) that change is there. Browsing manually through the thousands of commits is not an option :(
Thx.
Yes, you can use hg annotate and default output of annotate will show you revision, when sting was changed last time
hg ann functions.php
0: <?php
0:
0: if ( ! isset( $content_width ) ) $content_width = 550;
0:
3: add_theme_support('automatic-feed-links');
6: add_theme_support('custom-background');
...
(first column is revision number). With -d option you can add date of revision to output
hg ann -d -n functions.php
0 Sat Aug 06 01:13:35 2011 +0600: <?php
0 Sat Aug 06 01:13:35 2011 +0600:
0 Sat Aug 06 01:13:35 2011 +0600: if ( ! isset( $content_width ) ) $content_width = 550;
0 Sat Aug 06 01:13:35 2011 +0600:
3 Wed Dec 14 04:01:33 2011 +0600: add_theme_support('automatic-feed-links');
6 Sun Jun 24 15:20:24 2012 +0600: add_theme_support('custom-background');
With revision number (only) you can see file at the state of this revision: hg cat -r N <filename>
But if you want to see all history of changes of string in question (and you have some current or historical content, not only number), you can use hg grep
Try:
hg annotate MainWindow.cpp
It's similar to svn blame, and displays all lines of the file with the number of revision when it changed.