Apache24
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*mod_ssl.so 腐る その後 [#yba5e007]
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235173
を参考にして、
portupgrade -rf apr-1.7.0.1.6.1_2
してから、
portupgrade -rf apache24-2.4.54
してみたら、232KBのmod_ssl.so が再生成され、apache が正常...
* mod_ssl.so 腐る [#j1d32abe]
2022/05/30 Apache24をportupgrade したところ、
httpd: Syntax error on line 148 of /usr/local/etc/apache...
というエラーで、起動しなくなった。
正確には、HTTPSでは起動できなくなっていたと言うべきか?
ともかく、このエラーは他の所でも起こっているようで、未解...
** SOLVED [#g13a5018]
取り敢えず、別のサーバで正常動作している mod_ssl と入れ換...
# apachectl restart
Performing sanity check on apache24 configuration:
Syntax OK
Stopping apache24.
Waiting for PIDS: 26394.
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
----
[1/1] Deinstalling apache24-2.4.53_2...
[1/1] Deleting files for apache24-2.4.53_2: 100%
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
===> License APACHE20 accepted by the user
===> apache24-2.4.53_2 depends on file: /usr/local/sbi...
===> Fetching all distfiles required by apache24-2.4.53_...
*portupgrade -r --batch apache24-2.4.39_1 [#t0acdf12]
すると、
eval: /usr/local/bin/nm: not found
というエラーでストップする。
原因は、/usr/local/bin/nm の実体が無いため。
/usr/bin/nm は存在するため、
# cp /usr/bin/nm /usr/local/bin/
として、upgrade
*Apache24 [#a09379b8]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
H E A D S - U P
2014-07-13:
The default version was changed from www/apache22 to w...
pre-build apache modules will also reflect this!
In case ports are build by yourself and apache22 is re...
use the following command to keep apache22 as default
echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make.conf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
** 埋め込み cgiが動作しない [#r14340f4]
/usr/local/etc/apache24 コメントを外すヨロシ
<IfModule !mpm_prefork_module>
LoadModule cgid_module libexec/apache24/mod_cgid.so
</IfModule>
<IfModule mpm_prefork_module>
LoadModule cgi_module libexec/apache24/mod_cgi.so
</IfModule>
**joomla3 [#m546fb7d]
/usr/local/etc/apache24/Includes/Joomla3.conf
こちらだとOK
### Add the AcceptPathInfo directive only for Apache 2.0...
Alias /joomla /usr/local/www/joomla3/
AcceptPathInfo On
<Directory "/usr/local/www/joomla3/">
AllowOverride None
Order Allow,Deny
Allow from all
Require all granted
#Order Allow,Deny
#Allow from all
</Directory>
こちらは、NG。インストール中にMySQLと接続できない風味。
### Add the AcceptPathInfo directive only for Apache 2.0...
Alias /joomla /usr/local/www/joomla3/
AcceptPathInfo On
<Directory /usr/local/www/joomla3>
AllowOverride None
Require all granted
#Order Allow,Deny
#Allow from all
</Directory>
** [#x35f1652]
root@g7:/usr/ports/www/mod_python3 # make install
===> ap24-mod_python-3.3.1_3 is marked as broken: : Err...
(or APACHE_PORT is defined) and port requires apache22 a...
*** [install] Error code 1
Stop in /usr/ports/www/mod_python3.
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*mod_ssl.so 腐る その後 [#yba5e007]
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235173
を参考にして、
portupgrade -rf apr-1.7.0.1.6.1_2
してから、
portupgrade -rf apache24-2.4.54
してみたら、232KBのmod_ssl.so が再生成され、apache が正常...
* mod_ssl.so 腐る [#j1d32abe]
2022/05/30 Apache24をportupgrade したところ、
httpd: Syntax error on line 148 of /usr/local/etc/apache...
というエラーで、起動しなくなった。
正確には、HTTPSでは起動できなくなっていたと言うべきか?
ともかく、このエラーは他の所でも起こっているようで、未解...
** SOLVED [#g13a5018]
取り敢えず、別のサーバで正常動作している mod_ssl と入れ換...
# apachectl restart
Performing sanity check on apache24 configuration:
Syntax OK
Stopping apache24.
Waiting for PIDS: 26394.
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
----
[1/1] Deinstalling apache24-2.4.53_2...
[1/1] Deleting files for apache24-2.4.53_2: 100%
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
You may need to manually remove /usr/local/etc/apache24/...
===> License APACHE20 accepted by the user
===> apache24-2.4.53_2 depends on file: /usr/local/sbi...
===> Fetching all distfiles required by apache24-2.4.53_...
*portupgrade -r --batch apache24-2.4.39_1 [#t0acdf12]
すると、
eval: /usr/local/bin/nm: not found
というエラーでストップする。
原因は、/usr/local/bin/nm の実体が無いため。
/usr/bin/nm は存在するため、
# cp /usr/bin/nm /usr/local/bin/
として、upgrade
*Apache24 [#a09379b8]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
H E A D S - U P
2014-07-13:
The default version was changed from www/apache22 to w...
pre-build apache modules will also reflect this!
In case ports are build by yourself and apache22 is re...
use the following command to keep apache22 as default
echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make.conf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
** 埋め込み cgiが動作しない [#r14340f4]
/usr/local/etc/apache24 コメントを外すヨロシ
<IfModule !mpm_prefork_module>
LoadModule cgid_module libexec/apache24/mod_cgid.so
</IfModule>
<IfModule mpm_prefork_module>
LoadModule cgi_module libexec/apache24/mod_cgi.so
</IfModule>
**joomla3 [#m546fb7d]
/usr/local/etc/apache24/Includes/Joomla3.conf
こちらだとOK
### Add the AcceptPathInfo directive only for Apache 2.0...
Alias /joomla /usr/local/www/joomla3/
AcceptPathInfo On
<Directory "/usr/local/www/joomla3/">
AllowOverride None
Order Allow,Deny
Allow from all
Require all granted
#Order Allow,Deny
#Allow from all
</Directory>
こちらは、NG。インストール中にMySQLと接続できない風味。
### Add the AcceptPathInfo directive only for Apache 2.0...
Alias /joomla /usr/local/www/joomla3/
AcceptPathInfo On
<Directory /usr/local/www/joomla3>
AllowOverride None
Require all granted
#Order Allow,Deny
#Allow from all
</Directory>
** [#x35f1652]
root@g7:/usr/ports/www/mod_python3 # make install
===> ap24-mod_python-3.3.1_3 is marked as broken: : Err...
(or APACHE_PORT is defined) and port requires apache22 a...
*** [install] Error code 1
Stop in /usr/ports/www/mod_python3.
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: