Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 13th April 2008, 05:59
mbascombe mbascombe is offline
Member
 
Join Date: Oct 2007
Location: Brooklyn, NY 11226
Posts: 44
Thanks: 6
Thanked 0 Times in 0 Posts
Send a message via MSN to mbascombe Send a message via Yahoo to mbascombe
Default

Code:
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/var/www/web4/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.emersongamoryincometaxservice.com:80
######################################
#
#
<VirtualHost 75.127.248.138:80>
ServerName www.emersongamoryincometaxservice.com:80
ServerAdmin webmaster@emersongamoryincometaxservice.com
DocumentRoot /var/www/web6/web
ServerAlias emersongamoryincometaxservice.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias  /cgi-bin/ /var/www/web6/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web6/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web6/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web6/phptmp/
php_admin_value session.save_path /var/www/web6/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/var/www/web6/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.bascombeonline.com:80
######################################
#
#
<VirtualHost 75.127.248.138:80>
ServerName www.bascombeonline.com:80
ServerAdmin webmaster@bascombeonline.com
DocumentRoot /var/www/web9/web
ServerAlias bascombeonline.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias  /cgi-bin/ /var/www/web9/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web9/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web9/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web9/phptmp/
php_admin_value session.save_path /var/www/web9/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/var/www/web9/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web9/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web9/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.bascombe.info:80
######################################
#
#
<VirtualHost 75.127.248.138:80>
ServerName www.bascombe.info:80
ServerAdmin webmaster@bascombe.info
DocumentRoot /var/www/web20/web
ServerAlias webmail.bascombe.info bascombe.info
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias  /cgi-bin/ /var/www/web20/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web20/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
t: www.bascombe.info:80
######################################
#
#
<VirtualHost 75.127.248.138:80>
ServerName www.bascombe.info:80
ServerAdmin webmaster@bascombe.info
DocumentRoot /var/www/web20/web
ServerAlias webmail.bascombe.info bascombe.info
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias  /cgi-bin/ /var/www/web20/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web20/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>








<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/var/www/web20/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web20/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web20/user/$1/web/$3
</VirtualHost>
#
#
#
root@server1:~#
__________________
Dell Poweredge SC440
Ubuntu 8.10
ISPConfig 2.2.27
Joomla! 1.5
Drupal
Reply With Quote
Sponsored Links
  #12  
Old 13th April 2008, 06:06
daveb daveb is offline
Senior Member
 
Join Date: Dec 2006
Location: St Louis Mo
Posts: 272
Thanks: 43
Thanked 41 Times in 37 Posts
Default

ok then make a copy of your /etc/apache2/vhosts/Vhosts_ispconfig.conf.
Code:
cp /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig-backup.conf
Now remove all the php_admin entries within the original Vhosts_ispconfig.conf
Code:
vi /etc/apache2/vhosts/Vhosts_ispconfig.conf
Then restart apache
Code:
/etc/init.d/apache2 restart
Then you should be able to finish your suphp install.
You will probably not have to do any edits to your php.ini then looks as if their is possibly a step missing in the howto.

Last edited by daveb; 13th April 2008 at 06:08.
Reply With Quote
The Following User Says Thank You to daveb For This Useful Post:
mbascombe (14th April 2008)
  #13  
Old 14th April 2008, 00:26
mbascombe mbascombe is offline
Member
 
Join Date: Oct 2007
Location: Brooklyn, NY 11226
Posts: 44
Thanks: 6
Thanked 0 Times in 0 Posts
Send a message via MSN to mbascombe Send a message via Yahoo to mbascombe
Default

Ok I was able get apache2 restarted. But now I'm following falko how to suPHP and running into a problem and afraid to go any further.
When I try to install php4-cgi
Code:
root@server1:~# apt-get install php4-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php4-cgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package php4-cgi has no installation candidate
root@server1:~#
should i be alarm or continue.
__________________
Dell Poweredge SC440
Ubuntu 8.10
ISPConfig 2.2.27
Joomla! 1.5
Drupal
Reply With Quote
  #14  
Old 14th April 2008, 00:48
daveb daveb is offline
Senior Member
 
Join Date: Dec 2006
Location: St Louis Mo
Posts: 272
Thanks: 43
Thanked 41 Times in 37 Posts
 
Default

I think the howto refers to php5-cgi. If you are using ubuntu 7.10 i didnt see any refernce php4 in the ubuntu repositry.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 15:33
screwed up the upgrade provell Installation/Configuration 7 14th August 2006 13:33
Upgrade from Fedora 4 to Fedora 5 adamluz Installation/Configuration 4 16th June 2006 03:00
fedor core upgrade rahulgandhi Kernel Questions 1 11th April 2006 15:14
fedor core upgrade rahulgandhi Installation/Configuration 1 10th April 2006 21:51


All times are GMT +2. The time now is 17:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.