I have several .JPG files and I want them to be .jpg files but every suggested rename script uses "mv" and the manual page (on Mountain Lion) for mv says it does a copy and delete which explains why when I run the script the "created/modified/etc" dates are all changed to the current date. I don't want that to happen. What can I do?
Sheldon McGee's questions
We have about 10 sites that we need to use https on and all the names look like this:
- site1.domain.com
- sitename.domain.com
- site2name.domain.com
The domain is always the same but the subdomain is what changes. We don't own the domain but all of our sites are hosted on the same server and DNS is setup to cname our server and whenever we are going to host a new site the institution will cname our server again.
The question is, can we get a wildcard cert that will handle all the sites we have and it not interfere with some other sites that someone else has? Also, can a cert be installed on more than one server? What if we split up some of the sites and put a few on one server and a few on another?
I'd like to make setting up new subdomains easy (at least for the development side) and getting one wildcard cert, setting up a wildcard dns (which is done and works great) and setting up SNI (Server Name Indication) seems like it would work for our HTTPS testing but googling around I haven't found any good instructions. Is this even possible? Everything I've read about SNI says you need to setup a cert for every site and that SNI just makes it possible to deliver a different cert depending on the hostname.
I have a simple .htaccess file that works great on the http version of the site but not when I go to https. Why?
RewriteEngine on
#This is so if the file exists then use the file
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ %{REQUEST_FILENAME} [L]
#These conditions check if a file or folder exists just for reference
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#if someone adds ".php" to the slug get rid of it
RewriteRule ^(.*)\.php$ $1
#don't add the [R] here because we don't want it to redirect
RewriteRule ^(.*)$ index.php?id=$1 [L,QSA]
I have a wireless network between two buildings that seems to work fine but when I ping across the networks I see an average of about 10% dropped packets (over several days or however long the ping in Windows keeps track). If I ping a machine on the local lan or even google, I get 0% loss over the same time period.
The wireless "bridge" (as I like to call it) is two WAP54GP devices that connect to antennas that are on the roof. MAIN (which is wired to the router that goes to the internet) has a omnidirectional antenna (so that potentially other buildings can connect) and WS (about 500 or so feet away) has a directional antenna that is directed at MAIN.
The AP Mode of MAIN is set as an Access Point that "Allow wireless signal to be repeated by a repeater." And the setting for that is the wireless mac of WS.
The AP Mode of WS is "Wireless Repeater" and is set to the mac of MAIN. I tried turning off the repeater mode and setting up WS as a wireless bridge but that didn't work.
Here are the setting on both routers:
- Mixed mode B/G
- Security Mode: PSK (not sure what that is actually . . I thought options were WAP or WPA)
- Encryption: TKIP
- Channel 11 (which is an uncrowded channel according to Wifi Analyzer the Android app)
- Wireless Isolation: off
- CTS Mode: AUTO
- Beacon: 100
- DTMI: 1
- RTS: 2347
- Fragmentation: 2346
Any ideas?