前提・実現したいこと
webサーバーをapacheを使用して構築していたのですが confを弄っていたら起動しなくなってしまいました
二週間位格闘しているのですがお手上げです
発生している問題・エラーメッセージ
エラーメッセージ 11月 17 16:05:40 server.mfserver.mydns.jp polkitd[818]: Registered Authentication Agent for unix-process:4518:252572 (system bus name :1.156 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freed 11月 17 16:05:40 server.mfserver.mydns.jp systemd[1]: Starting The Apache HTTP Server... -- Subject: Unit httpd.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit httpd.service has begun starting up. 11月 17 16:05:40 server.mfserver.mydns.jp httpd[4525]: AH00526: Syntax error on line 4 of /etc/httpd/conf.d/special.conf: 11月 17 16:05:40 server.mfserver.mydns.jp httpd[4525]: Invalid command 'optins', perhaps misspelled or defined by a module not included in the server configuration 11月 17 16:05:40 server.mfserver.mydns.jp systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE 11月 17 16:05:40 server.mfserver.mydns.jp kill[4530]: kill: cannot find process "" 11月 17 16:05:40 server.mfserver.mydns.jp systemd[1]: httpd.service: control process exited, code=exited status=1 11月 17 16:05:40 server.mfserver.mydns.jp systemd[1]: Failed to start The Apache HTTP Server. -- Subject: Unit httpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit httpd.service has failed. ### 該当のソースコード
<Directory "/var/www">
AllowOverride None
# Allow open access:
Require all granted
</Directory>
Further relax access to the default document root:
<Directory "/var/www/html">
Pssible values for the Options directive are "None", "All", or any combination of: Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews Note that "MultiViews" must be named *explicitly* --- "Options All" doesn't give it to you. The Options directive is both complicated and important. Please see http://httpd.apache.org/docs/2.4/mod/core.html#options for more information. Options FollowSymLinks AllowOverride controls what directives may be placed in .htaccess files. It can be "All", "None", or any combination of the keywords: Options FileInfo AuthConfig Limit AllowOverride None Controls who can get stuff from this server. Require all granted
### 試したこと 1回入れ直して何も弄らない状態だと動きました ### 補足情報(FW/ツールのバージョンなど) apache CentOS7
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/11/17 13:48
退会済みユーザー
2018/11/17 14:57