[Megoldva - alaposan :) ] Debian7 ->8 (included Apache 2.2 -> 2.4) => Apache nem indul

Fórumok

Azt hiszem a cím mindent elárul, frissítettem és rosszul jártam :(

Telepítés közben olvastam, hogy szükséges a .conf végződés.
De hol? A .../000-default.conf esetén ott van.

systemctl -l status apache2.service kimenetele:


● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since sze 2015-06-24 11:59:52 CEST; 27min ago
Process: 721 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

jún 24 11:59:52 www apache2[721]: Starting web server: apache2 failed!
jún 24 11:59:52 www apache2[721]: The apache2 configtest failed. ... (warning).
jún 24 11:59:52 www apache2[721]: Output of config test was:
jún 24 11:59:52 www apache2[721]: AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/000-default.conf:
jún 24 11:59:52 www apache2[721]: Either all Options must start with + or -, or no Option may.
jún 24 11:59:52 www apache2[721]: Action 'configtest' failed.
jún 24 11:59:52 www apache2[721]: The Apache error log may have more information.
jún 24 11:59:52 www systemd[1]: apache2.service: control process exited, code=exited status=1
jún 24 11:59:52 www systemd[1]: Failed to start LSB: Apache2 web server.
jún 24 11:59:52 www systemd[1]: Unit apache2.service entered failed state.

..és az opciók abban a fájlban tényleg + - kezdetűek.

Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Segítséget előre is köszönöm!

Hozzászólások

Szerintem ezért sír:

Options -Indexes FollowSymLinks MultiViews

Ha jól értelmezem ezt szeretné helyette

Options -Indexes +FollowSymLinks +MultiViews

..és tényleg :) köszi, most nincs hibaüzenet, de a weblap sem elérhető a nyitóoldal kivételével..


Forbidden

You don't have permission to access

Az előbb lemaradt az eleje:

ServerAdmin webmaster@localhost

DocumentRoot /www

Options +FollowSymLinks
AllowOverride None

Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Order allow,deny
allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

A helyes cim inkabb ez lenne: apache 2.2 -> 2.4 => apache nem indul
Valtozatlan beallitasokkal nem is fog, a krix altal ajanlott URL-eket nezd meg vagy keress Debian specifikust esetleg.

---
"Már nem csak tehetségekből, de a hülyékből is kifogytunk..."