Welcome To Snipplr
Everyone's Recent Apache Snippets Tagged apache
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
To fix the issue with localhost under Windows 8 giving a 403 error (but working for 127.0.0.1) I did the following:
0
947
posted 11 years ago by rickygri
The idea is to use this piece of code inside a virtualhost block
0
767
posted 11 years ago by therobot
Useful for WordPress installations that need more than 32M of memory
0
792
posted 12 years ago by Huskie
(98)Address already in use: make_sock: could not bind to address [::]:80
0
609
posted 12 years ago by dan532
you want to block other sites to hotlink your images or media files.
0
714
posted 12 years ago by silviud
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0
799
posted 12 years ago by shodan_uk
This rule allows you to embed fonts cross domain. Especially good when you are serving your fonts from a CDN.
0
848
posted 12 years ago by demwunz
First of all this refers to a clean Ubuntu 10.04 install with the LAMP and OpenSSH packages installed, but can probably be applied in most cases.
Duplicate the file /etc/apaches/sites-available/default, and name it subdomains.
Edit the new file...
1
633
posted 13 years ago by krillzip
Great for developing multiple sites under a wamp install. Removes the headache of paths and domains and changing them when deploying to their live environment.
1
740
posted 13 years ago by Meander365
use this to find all files/folders which have been given 777 (write all) permissions on a linux server
1
490
posted 13 years ago by fillyouin
Creates a self-signed SSL Key for use on a Windows development server. Instructions: http://dpaste.com/237670/
1
512
posted 13 years ago by zonetrooperex