Tag Info

Hot answers tagged

4

Activate mod_rewrite, and put this in a .htaccess file or a <Directory> directive: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_URI} !^apps/ RewriteRule (.*) apps/$1 What it does: The first three lines check if the requested URI refers to an actually existing file, ...


1

Browsers offer to download files based on two headers: Content-Type Content-Disposition I use a command line tool called curl to check headers on a website. curl -s -D - 'http://example.com/' | head -n 20 If you don't want your pages to be downloaded, then the Content-Type should be set to text/html or text/html;charset=UTF-8 and there should be no ...


1

Broadband Outrages It's doable but one of the problems is that home connections are not as reliable or stable as you may think. DNS issues occur very regularly on home broadband as well as other problems, also your IP may change (Dynamic) and this causes all types of problems with domains. Dynamic IP If your IP changes then your going to need a Dyn ...


1

How do I set up cPanel so that I can "redirect" subdomain folio.site.com to my other locally hosted website? As you likely already suspect, this wouldn't really be a "redirect", it's pointing a subdomain to an IP address, which is done with an A record. A CNAME would be used to point to a hostname, not an IP address. To do this in cPanel, edit the DNS ...


1

I'm sorry to inform you, but your steve-t-green domain loads an Index of / and within it it's your website/ directory. Therefore to access your photo I added that directory in the url like this: http://steve-t-green.com/website/albums/1.jpg Not to mention it's a jpg, not a png. Also, you might want to configure the apache/conf/httpd.conf file and add ...


1

Or, big or here, you could work everything off of FTP. This may or may not provide you with what you need, but your reasoning behind wanting to bring your files/databases to multiple servers on multiple platforms was not explained. Here's an example: At my home I have my Windows PC. At work I have my OS X PC. XAMPP is installed on Windows. I have ...



Only top voted, non community-wiki answers of a minimum length are eligible