Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 65cc8ae

Browse files
committed
php.ini.sample added with Godaddy specific optins
1 parent daa42c8 commit 65cc8ae

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

.htaccess

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
SetEnv APPLICATION_ENV development
22

3+
## GoDaddy hosting options
4+
# Options -MultiViews
5+
36
<IfModule mod_rewrite.c>
47
##################################
58
## Enable rewrites
@@ -29,7 +32,7 @@ SetEnv APPLICATION_ENV development
2932
# Header set Cache-Control "public"
3033
# Header set Expires "Thu, 15 Apr 2012 20:00:00 GMT"
3134
# </FilesMatch>
32-
35+
3336
</IfModule>
3437

3538
<IfModule mod_deflate.c>
@@ -38,27 +41,27 @@ SetEnv APPLICATION_ENV development
3841
## http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
3942
# Add filter
4043
# AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
41-
44+
4245
# Netscape 4.x has some problems...
4346
# BrowserMatch ^Mozilla/4 gzip-only-text/html
44-
47+
4548
# Netscape 4.06-4.08 have some more problems
4649
# BrowserMatch ^Mozilla/4\.0[678] no-gzip
47-
50+
4851
# MSIE masquerades as Netscape, but it is fine
4952
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
50-
53+
5154
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
5255
# the above regex won't work. You can use the following
5356
# workaround to get the desired effect:
5457
# BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
55-
58+
5659
# Don't compress images
5760
# SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
58-
61+
5962
# Make sure proxies don't deliver the wrong content
6063
# Header append Vary User-Agent env=!dont-vary
61-
64+
6265
</IfModule>
6366

6467
##################################
@@ -77,7 +80,7 @@ SetEnv APPLICATION_ENV development
7780

7881
AddDefaultCharset Off
7982
#AddDefaultCharset utf-8
80-
83+
8184
## To redirect all users to the site WITH the 'www.' prefix,
8285
## (http://example.com/... will be redirected to http://www.example.com/...)
8386
## adapt and uncomment the following:

php.ini.sample

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
; This file is for CGI/FastCGI installations.
2+
; Rename it to php.ini or php5.ini, if it doesn't work
3+
4+
magic_quotes_gpc = off
5+
6+
extension=mcrypt.so
7+
8+
; GoDaddy hosting fix
9+
;cgi.fix_pathinfo = 1

0 commit comments

Comments
 (0)