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 24th June 2009, 19:43
jacek_arwal jacek_arwal is offline
Junior Member
 
Join Date: Dec 2007
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Result of this command is very very long.
Reply With Quote
Sponsored Links
  #12  
Old 24th June 2009, 19:54
jacek_arwal jacek_arwal is offline
Junior Member
 
Join Date: Dec 2007
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default

without log files the output looks like :

Plik binarny modules/mod_version.so pasuje do wzorca
Plik binarny modules/mod_env.so pasuje do wzorca
Plik binarny modules/mod_status.so pasuje do wzorca
Plik binarny modules/mod_mime_magic.so pasuje do wzorca
Plik binarny modules/mod_substitute.so pasuje do wzorca
Plik binarny modules/mod_imagemap.so pasuje do wzorca
Plik binarny modules/mod_dav_fs.so pasuje do wzorca
Plik binarny modules/mod_ssl.so pasuje do wzorca
Plik binarny modules/mod_autoindex.so pasuje do wzorca
Plik binarny modules/mod_authz_host.so pasuje do wzorca
Plik binarny modules/mod_optional_hook_export.so pasuje do wzorca
Plik binarny modules/mod_dav_lock.so pasuje do wzorca
Plik binarny modules/mod_cgid.so pasuje do wzorca
Plik binarny modules/mod_example.so pasuje do wzorca
Plik binarny modules/mod_usertrack.so pasuje do wzorca
Plik binarny modules/mod_speling.so pasuje do wzorca
Plik binarny modules/mod_mime.so pasuje do wzorca
Plik binarny modules/mod_setenvif.so pasuje do wzorca
Plik binarny modules/mod_asis.so pasuje do wzorca
Plik binarny modules/mod_suexec.so pasuje do wzorca
Plik binarny modules/mod_cern_meta.so pasuje do wzorca
Plik binarny modules/mod_authz_user.so pasuje do wzorca
Plik binarny modules/mod_case_filter_in.so pasuje do wzorca
Plik binarny modules/mod_authz_groupfile.so pasuje do wzorca
Plik binarny modules/mod_bucketeer.so pasuje do wzorca
Plik binarny modules/mod_authn_alias.so pasuje do wzorca
Plik binarny modules/mod_dir.so pasuje do wzorca
Plik binarny modules/mod_filter.so pasuje do wzorca
Plik binarny modules/mod_optional_fn_import.so pasuje do wzorca
Plik binarny modules/mod_case_filter.so pasuje do wzorca
Plik binarny modules/mod_rewrite.so pasuje do wzorca
Plik binarny modules/mod_unique_id.so pasuje do wzorca
Plik binarny modules/mod_vhost_alias.so pasuje do wzorca
Plik binarny modules/mod_authz_default.so pasuje do wzorca
modules/httpd.exp:ap_replace_stderr_log
modules/httpd.exp:ap_explode_recent_localtime
modules/httpd.exp:ap_explode_recent_gmt
Plik binarny modules/mod_ident.so pasuje do wzorca
Plik binarny modules/mod_authz_dbm.so pasuje do wzorca
Plik binarny modules/mod_include.so pasuje do wzorca
Plik binarny modules/mod_charset_lite.so pasuje do wzorca
Plik binarny modules/mod_logio.so pasuje do wzorca
Plik binarny modules/mod_optional_hook_import.so pasuje do wzorca
Plik binarny modules/mod_alias.so pasuje do wzorca
Plik binarny modules/mod_headers.so pasuje do wzorca
Plik binarny modules/mod_authn_anon.so pasuje do wzorca
Plik binarny modules/mod_authn_default.so pasuje do wzorca
Plik binarny modules/mod_cgi.so pasuje do wzorca
Plik binarny modules/mod_negotiation.so pasuje do wzorca
Plik binarny modules/mod_authn_file.so pasuje do wzorca
Plik binarny modules/mod_actions.so pasuje do wzorca
Plik binarny modules/mod_echo.so pasuje do wzorca
Plik binarny modules/mod_expires.so pasuje do wzorca
Plik binarny modules/mod_authz_owner.so pasuje do wzorca
Plik binarny modules/mod_ext_filter.so pasuje do wzorca
Plik binarny modules/mod_log_config.so pasuje do wzorca
Plik binarny modules/mod_info.so pasuje do wzorca
Plik binarny modules/mod_log_forensic.so pasuje do wzorca
Plik binarny modules/mod_auth_basic.so pasuje do wzorca
Plik binarny modules/mod_optional_fn_export.so pasuje do wzorca
Plik binarny modules/mod_authn_dbm.so pasuje do wzorca
Plik binarny modules/mod_dav.so pasuje do wzorca
Plik binarny modules/mod_dumpio.so pasuje do wzorca
Plik binarny modules/mod_auth_digest.so pasuje do wzorca
modules.d/70_mod_php.conf:# AddType application/x-httpd-php .php
modules.d/70_mod_php.conf:# AddType application/x-httpd-php .phtml
modules.d/70_mod_php.conf:# AddType application/x-httpd-php-source .phps
modules.d/75_mod_perl.conf: # can be displayed, thanks to B::Terse.
modules.d/75_mod_perl.conf: # displayed. See the B::TerseSize docs for more info.
modules.d/75_mod_perl.conf:#<Location /perl/*.pl>
modules.d/75_mod_perl.conf:#<Location /cgi-perl/*.pl>
modules.d/45_mod_dav.conf:# The following example gives DAV write access to a directory called
modules.d/45_mod_dav.conf:# "uploads" under the ServerRoot directory.
modules.d/45_mod_dav.conf:# on the directory where the DavLockDB is placed and on any directory where
modules.d/45_mod_dav.conf:#Alias /uploads "/var/www/uploads"
modules.d/45_mod_dav.conf:#<Directory "/var/www/uploads">
modules.d/45_mod_dav.conf:# AuthName DAV-upload
modules.d/45_mod_dav.conf:# # htdigest -c "/usr/user.passwd" DAV-upload admin
modules.d/40_mod_ssl.conf:# Do NOT simply read the instructions in here without understanding
modules.d/40_mod_ssl.conf:## All SSL configuration in this context applies both to
modules.d/40_mod_ssl.conf:AddType application/x-x509-ca-cert .crt
modules.d/40_mod_ssl.conf:AddType application/x-pkcs7-crl .crl
modules.d/40_mod_ssl.conf:# WARNING! On some platforms /dev/random blocks if not enough entropy
modules.d/40_mod_ssl.conf:# platforms additionally provide a /dev/urandom device which doesn't

it is in polish but I think you understand it
Reply With Quote
  #13  
Old 24th June 2009, 21:27
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 170 Times in 77 Posts
Default

Have a look at 70_mod_php.conf, but in the result of grep everithing seems to be commented.
Reply With Quote
  #14  
Old 25th June 2009, 07:56
jacek_arwal jacek_arwal is offline
Junior Member
 
Join Date: Dec 2007
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Nothing about perl in this module

<IfDefine HAVE_PHP5>
<IfModule !mod_php5.c>
LoadModule php5_module extramodules/mod_php5.so
</IfModule>
</IfDefine>

<IfModule mod_mime.c>
# AddType application/x-httpd-php .php
# AddType application/x-httpd-php .phtml
# AddType application/x-httpd-php-source .phps
</IfModule>

<IfModule mod_php5.c>
<IfModule mod_dir.c>
DirectoryIndex index.php index.phtml
</IfModule>
</IfModule>

Maybe you can make a patch to your module and it would replace . with _ ?
Reply With Quote
  #15  
Old 25th June 2009, 09:19
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 170 Times in 77 Posts
Default

This would eventually be a solution, but can you try this :

<Directory /var/www/web3/web/awstats >
Options -ExecCGI
</Directory>
Reply With Quote
  #16  
Old 25th June 2009, 12:03
jacek_arwal jacek_arwal is offline
Junior Member
 
Join Date: Dec 2007
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Now the error has chenged :

403 Error- Forbidden!

--------------------------------------------------------------------------------





The following error occurred:

You are not permitted to access the requested URL

------------------------

I checked in error log and I have there :

[Thu Jun 25 11:56:29 2009] [error] [client myip] Options ExecCGI is off in this directory: /var/www/web3/web/awstats/awstats.www.mysite.pl.2009-06.html, referer: http://www.mysite.pl/awstats/
Reply With Quote
  #17  
Old 26th June 2009, 00:40
abix_adamj abix_adamj is offline
Junior Member
 
Join Date: Jun 2009
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

The .pl extension is used for:
1/ index.pl
2/ cgi-scripts

1/ you can delete in Options|DirectoryIndex in webSite in ispconfig
2/ in file /root/ispconfig/scripts/lib/config.lib.php
in line around 1445 find the ...
if($web["web_cgi"] == 1) $cgi = "Alias /cgi-bin/ ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."/"."cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl";

and change it to:
if($web["web_cgi"] == 1) $cgi = "Alias /cgi-bin/ ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."/"."cgi-bin/
AddHandler cgi-script .cgi";
/* AddHandler cgi-script .pl"; */

In file /etc/apache2/vhosts/Vhosts_ispconfig.conf fnd the domain and delete
AddHandler cgi-script .pl

Should Help. Now the .pl extension would'nt be cgi handler any more .. I hope ;-)
For my site (also .pl) it works!
And beware of any ISPconfig upgrades!

Best regards,
Adam
Reply With Quote
The Following User Says Thank You to abix_adamj For This Useful Post:
jacek_arwal (26th June 2009)
  #18  
Old 26th June 2009, 07:18
jacek_arwal jacek_arwal is offline
Junior Member
 
Join Date: Dec 2007
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Yes it works. Thanks to jnsc & abi_adamj for help.
Reply With Quote
  #19  
Old 26th June 2009, 09:21
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 170 Times in 77 Posts
 
Default

As a more longterm solution can you try this?

<Directory /var/www/web3/web/awstats >
RemoveHandler .pl
</Directory>
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
Configuring Awstats for ispconfig feanor Installation/Configuration 26 23rd February 2009 19:14
Awstats config problem Paladinemishakal HOWTO-Related Questions 1 13th February 2009 13:38
Ispconfig + awstats on debian etch Dennis Installation/Configuration 1 19th April 2008 22:57
AWStats jnsc Developers' Forum 5 7th February 2007 14:53
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 15th May 2006 23:04


All times are GMT +2. The time now is 23:13.


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