Fixed references to openphoto to be photo.
As taken from pull request photo/frontend#1321
This commit is contained in:
parent
1b595d3dc4
commit
ce8561b67b
1 changed files with 20 additions and 1 deletions
|
@ -21,7 +21,7 @@ Variables:
|
||||||
|
|
||||||
wget https://github.com/photo/frontend/tarball/master -O openphoto.tar.gz
|
wget https://github.com/photo/frontend/tarball/master -O openphoto.tar.gz
|
||||||
tar -zxvf openphoto.tar.gz
|
tar -zxvf openphoto.tar.gz
|
||||||
mv openphoto-frontend-* OpenPhotoRoot
|
mv photo-frontend-* OpenPhotoRoot
|
||||||
|
|
||||||
1. Create directories
|
1. Create directories
|
||||||
|
|
||||||
|
@ -66,6 +66,25 @@ If the setup page is not colorful and well formatted, then the css and javascrip
|
||||||
#### Error setting up the database
|
#### Error setting up the database
|
||||||
Double check all the parameters. Open the Dreamhost control panel for databases.
|
Double check all the parameters. Open the Dreamhost control panel for databases.
|
||||||
|
|
||||||
|
#### /setup not found
|
||||||
|
If the server says that /setup is not found you may need an htaccess file. As suggested by [sokai](https://github.com/photo/frontend/issues/1197?source=cc#issuecomment-16859413), create a file in OpenPhotoRoot/src/html called .htaccess with the following contents:
|
||||||
|
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.*)\?*$ index.php?__route__=/$1 [L,QSA]
|
||||||
|
|
||||||
|
# 403 Forbidden for ini files
|
||||||
|
#RewriteRule \.ini$ - [F,NC]
|
||||||
|
|
||||||
|
AddOutputFilterByType DEFLATE text/plain
|
||||||
|
AddOutputFilterByType DEFLATE text/html
|
||||||
|
AddOutputFilterByType DEFLATE text/css
|
||||||
|
AddOutputFilterByType DEFLATE application/x-javascript
|
||||||
|
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
||||||
|
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
||||||
|
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
|
||||||
|
|
||||||
|
|
||||||
### Launching your OpenPhoto site
|
### Launching your OpenPhoto site
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue