Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doi-landing-page
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alejandro De Maria Antolinos
doi-landing-page
Commits
0dbfba09
Commit
0dbfba09
authored
Dec 13, 2017
by
Alejandro De Maria Antolinos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added available-sites
parent
b52f6460
Pipeline
#1604
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
000-default.conf
000-default.conf
+42
-0
www/.htaccess
www/.htaccess
+7
-0
No files found.
000-default.conf
0 → 100644
View file @
0dbfba09
<
VirtualHost
*:
80
>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin
webmaster
@
localhost
DocumentRoot
/
var
/
www
/
html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog
${
APACHE_LOG_DIR
}/
error
.
log
CustomLog
${
APACHE_LOG_DIR
}/
access
.
log
combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
<
Directory
/
var
/
www
/
html
>
Options
Indexes
FollowSymLinks
MultiViews
AllowOverride
All
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RewriteEngine On
#RewriteRule ^/index.html/(.+)/(.+)$ /folder1/dex.html?doi=$1.$2
</
Directory
>
</
VirtualHost
>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
www/.htaccess
0 → 100644
View file @
0dbfba09
RewriteEngine
On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_URI} !(js)
RewriteCond
%{REQUEST_URI} !(doi-landing-page)
RewriteRule
"/(.+)$" "doi-landing-page/index.html?DOI=$1" [NC,L]
# Handle product requests
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment