Articles

How to Allow IP Addresses with a .htaccess File

If you wish to only allow specific addresses to access an app, you can add the following to your...

How to Block IP Addresses with .htaccess

If you suspect you are under attack from a specific IP address, you can block it from accessing...

How to Enable Browser Caching

You can configure an app so that the browser will cache files it downloads from your server. When...

How to Enable Cross-Origin Resource Sharing (CORS)

By default, web browsers do not allow websites to make cross-origin requests in certain...

How to Enable Directory Indexes (a.k.a. Directory Listing)

Directory listing is a webserver feature where the webserver will automatically generate an HTML...

How to Enable HTTP Strict Transport Security (HSTS)

HTTP Strict Transport Security (HSTS) is a security mechanism in which a website tells the...

How to Force SSL by Redirecting HTTP to HTTPS

Once you have enabled SSL on your site, SellCloud makes it easy to redirect all plain HTTP...

How to Force SSL by Redirecting HTTP to HTTPS

Once you have enabled SSL on your site, SellCloud makes it easy to redirect all plain HTTP...

How to Force SSL by Redirecting HTTP to HTTPS

Once you have enabled SSL on your site, SellCloud makes it easy to redirect all plain HTTP...

How to Password Protect a Directory

If you want to limit access to one of your apps, you can place password protection on it using a...

How to Password Protect a Single File

You can give limited access to a single file on your server by using a .htaccess file, similar to...

How to Prevent .htaccess from Being Overwritten by WordPress

You can safely customize and control the behavior of your WordPress apps by entering instructions...

How to Redirect to a Different Domain

To redirect all requests to a different domain name, create a .htaccess file in your app's web...

How to Redirect to a Different Domain

To redirect all requests to a different domain name, create a .htaccess file in your app's web...

How to Set Environment Variables

Some PHP applications look for configuration data in environment variables. You can set...

How to Use Apache to Replace Strings in Responses

If you need to replace strings in the output of your PHP scripts before they are sent to the...

Use .htaccess Files

You can control the behavior of the Apache web server by creating a file named .htaccess in your...