I know how to set expires headers for whole directories, but how do I set an expires header for an individual file - e.g. the favicon.ico file in the root directory?
I have a clustered SQL instance set up at SERVER01\dev08
It's assigned to a static port of 1466. Can I set up something which will let users connect to SERVER01 and hit that port?
If this is possible, what problems might it create (all traffic coming to this name hitting only one port)?
It seems that DNS has nothing to do with ports - nor does the F5 big IP.
I am having problem with a user account on a Windows 7 machine (local install, admin user account)
APPDATA and LOCALAPPDATA environment are not set. Another user on the same machine, (also a local account, but without admin rights) has the variables set. This started to happen recently, however, I can not figure out if there was something installed on the machine to cause this. This is creating issues with applications that are trying to expand the variables to store local files.
Thank you for the help.
Is there a way to set up a Mac or Linux so that one can connect two mice and two keyboards with both users having independent input on the screen with their respective mice and keyboards?
I'd like to set up an environment for pairwise programming, and in particular have two developers be able to concurrently edit different documents on the same computer screen, but each person having different keyboards and mice.
I'd be much obliged for any input and direction.
I have a couple of servers with DRAC 6 cards for which I want to set the boot device to PXE via a script. The Web GUI has the option under the "Setup" tab and "First Boot Device". How can I set (and unset) this option in a script?
i know how to set variables and use subroutines with the nginx builtin perl module INSIDE a "server" directive but, what i need to do is to set/rewrite the current domain before ...
let's say, we have a domain like
admin.foobar.website.com
i want that a request to
foobar.othersite.com
points to the first address ( obviously website.com and othersite.com are hosted on the same webserver running nginx :) ).
For reasons i can't explain here, i can not use multiple server_name directive expressions, i have to do this before the server {} block, with perl or anyway possible.
Thanks
I wish to use Fiddler to debug the submitted request/responses from my SOAP client. I am inside a network that needs proxy authentication to talk to the server outside the network. Fiddler2 provides option to set the upstream proxy, but without the authentication information. How can I set it?
One of the more interesting features of Windows Vista/7 is being able to set a photo to represent your user. This is nice on a standalone installation, but is there a way to set the photo in Active Directory so that the photo is consistent no matter where the user logs in across the domain?
I am getting the following errors when I execute some commands on Solaris 10.
couldn't set locale correctly
Output of locale command-
LANG=en_US
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
Does LC_ALL need to be set? I don't have root on this machine.. can I specify locale in my rc files?
A have a redirect rule in my .htaccess that forwards agent from A.html to B.html using the following pattern:
Redirect 301 /A.html http://mysite.com/B.html
Since the Redirect directive requires to set the target host, is it possible to let this rule prevail only on a specific host? I have both a test and deploy domain, and only want it on the deploy domain. I can set HTTP conditions for Rewrite rules, but how can I for HTTP Redirects?
I need a CPU benchmark to test the performance impact of various power management policies. I must be able to set the load (e.g. to get a relatively steady load of 20%-30%-60%) and to simulate usage spikes (set frequency of spikes). I would also like it to be scriptable so as to be able to change benchmark settings in an indirect manner.
Outlook has the ability to show week numbers down the side of the calendar in monthly view, and on the mini-calendar:
In options, you can set the first week of the year, but only to the following three options:
This is all very nice, but at work our "year" starts on a different date to match up with accounting periods - it's currently week 37 rather than 45!
I'd like Outlook to be able to tell me which week it is at work, so is there any way I can set a custom date to be the first week of the year?
Is it possible to always have Thunderbird set "reply-to" for a certain set of recipients? I sometimes email my significant other at work (about upcoming office parties, events, etc. that she would need to know about), but I'd like to handle the rest of the discussion from my personal email account.
I set JAVA_HOME in windows environment preferences
echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.6.0_20
but then I try to run ant build and I get
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"
I think the registry key JAVASOFT is interfering with my environment variable, but I'm not sure how to fix this
Hello,
I'm on shared hosting and today i discovered there are some backdoor script.. in .htaccess and a php file.
So i went to check via FTP, cannot edit nor delete.
So i checked with direct admin.. the file permission(GUID, UID) is set by APACHE
while rest of file is set by my username,
So my question now is.. the trojan did this is originated from my computer or host side?
I rent a server from a German company. I have remote access to it as well as WHM and CPanel. I decided to use Google's mail servers for obvious reasons. I am not an admin just an average guy trying to set up what needs to be set up. The problem is I am unable to make the necessary settings. I watched Youtube tutorials, followed written ones as well as Google's help, but there is (at least) one serious problem with my domain settings.
The domain console alwasy says Your MX records are incorrect
When I check dappwall.com in mxtoolbox.com it says
Pref Hostname IP Address TTL
10 mail.dappwall.com 46.4.88.247 24 hrs
But this is not the host name. I checked WHM and my hostname is server1.dappwall.com. I can confirm it by typing the hostname command in putty.
However, if I do an mx lookup at mxtoolbox.com on server1.dappwall.com or mail.dappwall.com I get
Lookup failed after 1 name servers timed out or responded non-authoritatively
I ran checks on the google apps toolbox on dappwall.com and two problems emerged:
1.No Google mail exchangers found. Relayhost configuration?
10 mail.dappwall.com
In Google Apps > Settings for Gmail > Advanced settings it also says that my current MX records for dappwall.com is
Priority Points to
10 MAIL.DAPPWALL.COM.
So mail.dappwall.com again.
I also have access to a robot provided by the company I rent the server from. Here I see this mail at two places but how should I (if it's necessary) modify this?
I set Email routing to Automatically Detect Configuration.
2.There SHOULD be a valid SPF record.
"v=spf1 include:_spf.google.com ~all"
In the DNS Zone Editor I added this spf record:
Name TTL Class Type Record
dappwall.com. 1440 IN TXT v=spf1 include:_spf.google.com ~all
In the cPanel Email Authentication page it says
SPF:
Status: Enabled Warning: cPanel is unable to verify that this server is an authoritative nameserver for dappwall.com. [?]
Your current raw SPF record is : v=spf1 include:_spf.google.com ~all
How can I confirm that my server is an authoritative nameserver for dappwall.com?
In WHM Service Configuration Mailserver selection Dovecot was set but I disabled it (i don't know if that's ok).
What am I missing here? Where is that mail.dappwall.com coming from?
I am having problem with a user account on a Windows 7 machine (local install, admin user account)
APPPATH and LOCALAPPPATH environment are not set. Another user on the same machine, (also a local account, but without admin rights) has the variables set. This started to happen recently, however, I can not figure out if there was something installed on the machine to cause this. This is creating issues with applications that are trying to expand the variables to store local files.
Thank you for the help.
I have a laptop running Windows XP that does not connect to the Internet and I would like to use a USB GPS receiver as a time source to set the clock. Generally, the laptop will not have access to the open sky so getting a strong, multi-satellite connection is not likely.
Ideally, I would like to be able to have the program detect the GPS receiver and set the clock without intervention from the user.
Is what I'm seeking even feasible?
I got the following command with this error
rsync -avz --links -O /home/jansiatest/.jenkins/workspace/svn_to_demo/trunk/CPS/ [email protected]:/home/tasklite/temp
sending incremental file list
./
rsync: failed to set permissions on "/home/tasklite/temp/.": Operation not permitted (1)
But the thing is that i don't want to change permission of "/home/tasklite/temp/". How can i set that?
In Joomla how do I set the frontpage to be the front page (without being in the main menu). Currently whatever I set to be the default in the main menu is the first page, but I don't want the front page to be in the main menu.
the site link if it helps.
From the doc , it said
"For best performance, the majority of your active set should fit in RAM."
So for example, my db.stats() give me
{
"db" : "mydb",
"collections" : 16,
"objects" : 21452,
"avgObjSize" : 768.0516501957859,
"dataSize" : 16476244,
"storageSize" : 25385984,
"numExtents" : 43,
"indexes" : 70,
"indexSize" : 15450112,
"fileSize" : 469762048,
"ok" : 1
}
Which value is the working set size?
I need to set LD_LIBRARY_PATH and CLASSPATH before running a job a cluster. In LD_LIBRARY_PATH i need to add location of some jars which are required while running the job, As these jars are avaiable at my cluster, similar with CLASSPATH.
I have a 3 NODE cluster, I need to set this LD_LIBRARY_PATH and CLASSPATH for all the 3 data nodes so that the following jar are available while running the job