Reputation
1,875
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
8 11
Newest
 Yearling
Impact
~139k people reached

  • 0 posts edited
  • 0 helpful flags
  • 49 votes cast
Sep
13
comment Nginx rewrite and proxying
Aaaand your edit solved the problem! Thank you so much! I was losing my mind here over something that simple.
Sep
12
comment Nginx rewrite and proxying
@AlexeyTen: Because I am trying to clean up and consolidate the config and consolidating these two definitions into one seems like a thing that should be easy. Whoever put the current config together thought that adding 150+ separate location definitions in no particular order was the way to go, so the config has become unmanageable. I've consolidated everything else and it is working, except this particular part.
Sep
12
comment Nginx rewrite and proxying
It hits the js script which throws logs a console error if( config.url.indexOf("/v1/") == 0 && responseError.status == 401){. I get a 401 in nginx too, because this is the error the upstream java app throws. Unfortunately there are no useful logs from the java app.
Sep
12
comment Nginx rewrite and proxying
Yep. Does not work either. I can't understand why. Spent way too much time on this already.
Sep
12
comment Nginx rewrite and proxying
Does not work either, unfortunately.
Sep
12
comment Nginx rewrite and proxying
There are other /v1/blah locations that go to different places, so I can't just send them all there, unfortunately.
May
17
comment how to set static IP address in opensolaris
glad i could help. And i really appreciate that you didn't take my answer as mean spirited, as it was never intended to be that way.
May
17
comment Apache expands REQUEST_FILENAME with filetype
You should update your post to also include the rules that do the first rewrite.
May
17
comment Apache expands REQUEST_FILENAME with filetype
Wait, so are you requesting /testpage or testpage.xml?
May
14
comment Add Clamd as a service to CentOS?
most of the time people install clamd from source because pre-packaged versions are usually way behind and freshclam complains loudly when you are slightly behind the latest stable. Couple of month's ago they stopped providing updates on 0.94 and it broke ALOT of Debian boxes....
May
14
comment Add Clamd as a service to CentOS?
those lines need to be commented out in the file, just like in my example above
May
13
comment iptables to play nice with tor and ntpd
You should post your rules. It is pretty much impossible to troubleshoot, not seeing the rest of your rule chain.
May
13
comment MySQL database Int overflow and can’t login in
MySQL server? Did you stop it before removing the directory? I have done it many times before, and never experienced a single issue. I suppose something is different with Windows version of MySQL....
May
13
comment MySQL database Int overflow and can’t login in
You don't have to delete it, just move it out of that folder.
May
12
comment Check integrity of Debian system after possible rootkit?
chkrootkit is garbage. Had a client with 2 rootkits and it did not detect either one. apt-get install rkhunter
May
4
comment What do these “Cron Daemon” email errors mean?
you can just delete that line. it will stop this script from running. also delete rm -r /tmp/.d/
May
4
comment What do these “Cron Daemon” email errors mean?
first, you should check if anything is inside /usr/lib/cron and check for suspicious files in jobs, spool,tab,tmp directories.
May
4
comment What do these “Cron Daemon” email errors mean?
being hacked is a possibility too.
Apr
30
comment Apache: rewrite port 80 and 443 - multiple SSL vhosts setup
Hm.. this is very interesting... apparently it is possible with newer versions of Apache... linux-mag.com/cache/7480/1.html
Apr
28
comment Wireless Password
@fahadsadah: yes, if you know exactly what MAC you need to spoof. And seems like you missed the part where i said that in addition to MAC address registration we had to use SecureID, which is a 2 factor authentication method.