Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusandrade committed Jul 31, 2012
1 parent 6ec3f1e commit 80bff0a
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions README.md
Expand Up @@ -12,36 +12,36 @@ The application work with PHP 5.3.3 or later.
extract the file to your server.
Example: Creating a structure and deploy the application under /opt/ directory:

$ cd /opt/
$ mkdir bireme
$ cd bireme
$ wget https://github.com/bireme/isis-oai-provider/tarball/master -O isis-oai-provider.tar.gz
$ tar xvfzp isis-oai-provider.tar.gz
$ mv bireme-isis-oai-provider-53c0abc/ isis-oai-provider
$ cd /opt/
$ mkdir bireme
$ cd bireme
$ wget https://github.com/bireme/isis-oai-provider/tarball/master -O isis-oai-provider.tar.gz
$ tar xvfzp isis-oai-provider.tar.gz
$ mv bireme-isis-oai-provider-53c0abc/ isis-oai-provider


1. Create a VirtualHost for the web application (alternatively you can copy directories for a existing VirtualHost)

<VirtualHost *:80>
ServerName isis-oai-provider.local
DocumentRoot /opt/isis-oai-provider/htdocs/
<Directory "/home/projects/isis-oai-provider/htdocs">
Options +FollowSymLinks
AllowOverride FileInfo
Options Indexes ExecCGI MultiViews FollowSymLinks
MultiviewsMatch Handlers
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/projects/isis-oai-provider/cgi-bin">
Options +ExecCGI
AllowOverride None
Options FollowSymLinks MultiViews
Order deny,allow
</Directory>
ScriptAlias /cgi-bin/ /opt/isis-oai-provider/cgi-bin/
LogLevel warn
CustomLog /var/log/apache2/isis-oai-provider.log combined
ServerSignature On
<VirtualHost *:80>
ServerName isis-oai-provider.local
DocumentRoot /opt/isis-oai-provider/htdocs/
<Directory "/home/projects/isis-oai-provider/htdocs">
Options +FollowSymLinks
AllowOverride FileInfo
Options Indexes ExecCGI MultiViews FollowSymLinks
MultiviewsMatch Handlers
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/projects/isis-oai-provider/cgi-bin">
Options +ExecCGI
AllowOverride None
Options FollowSymLinks MultiViews
Order deny,allow
</Directory>
ScriptAlias /cgi-bin/ /opt/isis-oai-provider/cgi-bin/
LogLevel warn
CustomLog /var/log/apache2/isis-oai-provider.log combined
ServerSignature On
</VirtualHost>

0 comments on commit 80bff0a

Please sign in to comment.