Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
0602492b
Commit
0602492b
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Work on packaging RPM & DEB
parent
f9a57d99
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/rpm/httpd-dolibarr.conf
+55
-4
55 additions, 4 deletions
build/rpm/httpd-dolibarr.conf
with
55 additions
and
4 deletions
build/rpm/httpd-dolibarr.conf
+
55
−
4
View file @
0602492b
# Apache config file for Dolibarr
<
IfModule
mod_alias
.
c
>
Alias
/
dolibarr
/
var
/
www
/
dolibarr
/
htdocs
</
IfModule
>
# You can also use phpLDAPadmin as a VirtualHost
# <VirtualHost *:*>
# ServerName mydolibarrhostname.com
# ServerAdmin root@example.com
# DocumentRoot /usr/share/dolibarr/
# ErrorLog logs/ldap.example.com-error.log
# CustomLog logs/ldap.example.com-access.log common
# </VirtualHost>
<
DirectoryMatch
/
var
/
www
/
dolibarr
/>
# Directory for web pages
<
DirectoryMatch
/
var
/
www
/
dolibarr
>
Order
deny
,
allow
Allow
from
all
DirectoryIndex
index
.
php
Options
+
FollowSymLinks
+
Indexes
ErrorDocument
401
/
public
/
error
-
401
.
html
ErrorDocument
401
/
public
/
error
-
401
.
php
ErrorDocument
404
/
public
/
error
-
404
.
php
<
IfModule
mod_php4
.
c
>
php_flag
magic_quotes_gpc
Off
php_flag
register_globals
Off
</
IfModule
>
<
IfModule
mod_php5
.
c
>
php_flag
magic_quotes_gpc
Off
php_flag
register_globals
Off
</
IfModule
>
# OPTIMIZE: To use gzip compressed files (for Dolibarr already compressed files).
# Note that constant MAIN_OPTIMIZE_SPEED must have a value with bit 0 set.
#AddType text/javascript .jgz
#AddEncoding gzip .jgz
# OPTIMIZE: To use gzip compression (on the fly).
# Note that you must also enable the module mod_deflate.
# You can also set this with constant MAIN_OPTIMIZE_SPEED and bit 2 set.
#TODO
# OPTIMIZE: To use cache on static pages (A259200 = 1 month).
# Note that you must also enable the module mod_expires.
#ExpiresActive On
#ExpiresByType image/x-icon A2592000
#ExpiresByType image/gif A2592000
#ExpiresByType image/png A2592000
#ExpiresByType image/jpeg A2592000
#ExpiresByType text/css A2592000
#ExpiresByType text/javascript A2592000
#ExpiresByType application/x-javascript A2592000
#ExpiresByType application/javascript A2592000
</
DirectoryMatch
>
<
DirectoryMatch
/
var
/
www
/
dolibarr
/
public
/>
# Directory for public pages
<
DirectoryMatch
/
var
/
www
/
dolibarr
/
public
>
AllowOverride
All
Order
deny
,
allow
Allow
from
all
</
DirectoryMatch
>
<
DirectoryMatch
/
var
/
www
/
dolibarr
/
theme
/>
# Directory for data files
<
DirectoryMatch
/
usr
/
share
/
dolibarr
/
documents
>
AllowOverride
All
Order
deny
,
allow
Allow
from
all
</
DirectoryMatch
>
<
DirectoryMatch
/
var
/
www
/
dolibarr
/
documents
>
AllowOverride
All
Order
deny
,
allow
Allow
from
all
</
DirectoryMatch
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment