Search Results

Search: Posts Made By: kmaq7621
7,411
Posted By kmaq7621
If file contains string do..else do..end
Hi,

I have a script that runs a sql and outputs it in a temp file. That file is emailed to a distribution group hourly. How can I modify it to email only if a string is present in the file?
...
Forum: Web Development 03-26-2014
2,108
Posted By kmaq7621
Apache/2.2.15 custom error log
Hello,

I've updated my apache access log to include the x-forward-for IP instead of my client(loadbalancer) ip. However, i can't seem to find a way to do the same for the error logs. Can someone...
Forum: Web Development 11-23-2013
4,836
Posted By kmaq7621
Append query string via URL rewrite in apache
Hi,
Googled around but I couldn't find anything similar. I'm looking to do the following in apache..

if a user comes into the following URL.
...
2,019
Posted By kmaq7621
Hi, You can use Jenkins-ci to achieve this. ...
Hi,

You can use Jenkins-ci to achieve this.

Jenkins CI (http://jenkins-ci.org)
1,965
Posted By kmaq7621
Found the answer. cat temp.txt |sed 's/\...
Found the answer.
cat temp.txt |sed 's/\ -D/\n&/g'

The output should look like this.
/usr/java/jdk1.6.0_30/bin/java
-Dprogram.name=run.sh -server -XX:PermSize=512m -XX:MaxPermSize=512m...
1,965
Posted By kmaq7621
awk print everything in new line
Hi,

I have the following file and I would like to print everything to new line and the field seperator should be the dash (-).

/usr/java/jdk1.6.0_30/bin/java -Dprogram.name=run.sh -server...
3,589
Posted By kmaq7621
try opening your x-server and with from your...
try opening your x-server and with from your shell client, type ssh -X hostname_of_remote.
make sure you have xauth installed on the remote machine. If debian based.. apt-get install xauth. if...
Forum: Web Development 03-18-2013
3,228
Posted By kmaq7621
as suggested by glev2005, I did a combination of...
as suggested by glev2005, I did a combination of your suggestions. here is what worked for me.

above all the entries, the first one should have been..
ProxyPass /images/ !


ServerAdmin...
Forum: Web Development 03-09-2013
3,228
Posted By kmaq7621
I need apache to serve images from localhost instead of appserver
I have an apache/2.2.15 server centos 6.3
The apache server will be serving jboss app via mod_proxy (got that working)
But... I need to serve the images from a local directory on the apache server....
1,975
Posted By kmaq7621
Apache redirect file exceptions
Hi,

I am currently redirecting all mobile devices to my mobile site in apache. I need to exempt the following file types from redirecting even if the request is made from a mobile device.
...
1,506
Posted By kmaq7621
Map Apache PID to website
Hello,

I have multiple apache websites running on the same server. How can I tell which apache PID is mapped to which website?
www-data 5535 18638 0 08:46 ? 00:00:00 /usr/sbin/apache2...
3,920
Posted By kmaq7621
Find all images, append unique prefix to name and move to different directory
Hi,

I have a directory with Multiple subdirectories and 1000s of pictures (jpg) in each directory. The problem is that each directory has a 001.jpg in them. I want to append a unique name (the...
1,530
Posted By kmaq7621
figured it out.
#!/bin/bash
# where_are_you.sh
#do a dig against the public DNS servers and spit out the current IP of the sites.
array=( www.site1.com (http://www.site1.com)
www.site2.com...
1,530
Posted By kmaq7621
Where are my sites hosted?
I have 5 public websites (2 different datacenters)
1. production datacenter
2. Backup datacenter.

I have a global site selector which will load balance the site based on availability and...
6,008
Posted By kmaq7621
how do i parse by specific column?
I have a log file with 13 columns. The 12th column contains the status code (example 200, 404, 500, 403, etc.) I want to remove all 200 status lines. so...

1. remove all the lines in which the...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy