Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Esteban Blanc
proview
Commits
b92a77dc
Commit
b92a77dc
authored
May 07, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proview aliases added in apache conf-file
parent
ffcfe47a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
src/tools/pkg/deb/pwrrt/postinst
src/tools/pkg/deb/pwrrt/postinst
+11
-3
No files found.
src/tools/pkg/deb/pwrrt/postinst
View file @
b92a77dc
...
...
@@ -161,11 +161,11 @@ fi
# Add proview web directories to Apache
#
if
[
-e
/etc/apache/httpd.conf
]
;
then
if
!
egrep
-q
"Alias[ ]+/pwr
_doc
/"
/etc/apache/httpd.conf
;
then
if
!
egrep
-q
"Alias[ ]+/pwr
p_web
/"
/etc/apache/httpd.conf
;
then
cat
>>
/etc/apache/httpd.conf
<<-
EOF
#
# Prov
ew aliases
, added by Proview installation
# Prov
iew alias pwrp_web
, added by Proview installation
#
Alias /pwrp_web/ /pwrp/common/web/
...
...
@@ -175,8 +175,16 @@ if [ -e /etc/apache/httpd.conf ]; then
Order allow,deny
Allow from all
</Directory>
EOF
fi
if
!
egrep
-q
"Alias[ ]+/pwr_doc/"
/etc/apache/httpd.conf
;
then
cat
>>
/etc/apache/httpd.conf
<<-
EOF
#
# Proview alias pwr_doc, added by Proview installation
#
Alias /pwr_doc/ /usr/pwrrt/doc/
<Directory /usr/pwrrt/doc>
...
...
@@ -186,7 +194,7 @@ if [ -e /etc/apache/httpd.conf ]; then
Allow from all
</Directory>
EOF
fi
fi
fi
changes
=
0
...
...
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