Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
e6d68c2e
Commit
e6d68c2e
authored
Mar 06, 2009
by
tbrehm
Browse files
Several improvements for opensuse.
parent
65bfb95d
Changes
4
Hide whitespace changes
Inline
Side-by-side
docs/INSTALL_OPENSUSE_11_1.txt
View file @
e6d68c2e
...
...
@@ -82,7 +82,9 @@ chkconfig --add clamd
2.1) Install apache2
yast2 -i apache2
yast2 -i apache2 apache2-mod_fcgid
rpm -i http://download.opensuse.org/repositories/server:/php/server_database_apache_openSUSE_11.0/i586/suphp-0.6.2-10.41.i586.rpm
3) Install PHP5 modules (1 line!):
...
...
@@ -94,6 +96,8 @@ a2enmod suexec
a2enmod rewrite
a2enmod ssl
a2enmod actions
a2enmod suphp
a2enmod fcgid
chkconfig --add apache2
/etc/init.d/apache2 start
...
...
install/dist/lib/opensuse.lib.php
View file @
e6d68c2e
...
...
@@ -435,7 +435,7 @@ class installer_dist extends installer_base {
$content
=
rf
(
'/etc/apache2/httpd.conf'
);
if
(
!
stristr
(
$content
,
'Include /etc/apache2/sites-enabled/'
))
{
af
(
'/etc/apache2/httpd.conf'
,
"
\n
Include /etc/apache2/sites-enabled/
\n\n
"
);
af
(
'/etc/apache2/httpd.conf'
,
"
\
n
<Directory /srv/www>
\n
Options FollowSymlinks
\n
</Directory>
\n\
n
Include /etc/apache2/sites-enabled/
\n\n
"
);
}
unset
(
$content
);
...
...
server/conf/vhost.conf.master
View file @
e6d68c2e
<Directory
/var/www
/{tmpl_var name='domain'}>
<Directory
{tmpl_var name='web_basedir'}
/{tmpl_var name='domain'}>
AllowOverride None
Order Deny,Allow
Deny from all
...
...
server/plugins-available/apache2_plugin.inc.php
View file @
e6d68c2e
...
...
@@ -447,6 +447,7 @@ class apache2_plugin {
$vhost_data
=
$data
[
"new"
];
$vhost_data
[
"web_document_root"
]
=
$data
[
"new"
][
"document_root"
]
.
"/web"
;
$vhost_data
[
"web_document_root_www"
]
=
$web_config
[
"website_basedir"
]
.
"/"
.
$data
[
"new"
][
"domain"
]
.
"/web"
;
$vhost_data
[
"web_basedir"
]
=
$web_config
[
"website_basedir"
];
// Check if a SSL cert exists
$ssl_dir
=
$data
[
"new"
][
"document_root"
]
.
"/ssl"
;
...
...
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