Ankündigung

Einklappen
Keine Ankündigung bisher.

mod_rewrite geht nicht ? (musicbox bojanz)

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • mod_rewrite geht nicht ? (musicbox bojanz)

    Hey,

    habe mir grade musicbox bojanz runtergeladen um zu schauen wie silex funtioniert....
    Nun hat diese Seite ja ein Routing und wie ich Erfahren habe brauch ich dafür mod_rewrite, laut phpinfo ist es aktiv...
    Jedoch wenn ich versuche
    Options Indexes FollowSymLinks MultiViews AllowOverride FileInfo in die 000-default config zu schreiben und dann apache neustarten will kommt : "Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details."


    journalctl -xe :

    -- Unit apache2.service has begun starting up.
    Jul 11 15:15:26 Dustin-PC apache2[5027]: * Starting web server apache2
    Jul 11 15:15:26 Dustin-PC apache2[5027]: *
    Jul 11 15:15:26 Dustin-PC apache2[5027]: * The apache2 configtest failed.
    Jul 11 15:15:26 Dustin-PC apache2[5027]: Output of config test was:
    Jul 11 15:15:26 Dustin-PC apache2[5027]: AH00526: Syntax error on line 14 of /et
    Jul 11 15:15:26 Dustin-PC apache2[5027]: AllowOverride not allowed here
    Jul 11 15:15:26 Dustin-PC apache2[5027]: Action 'configtest' failed.
    Jul 11 15:15:26 Dustin-PC apache2[5027]: The Apache error log may have more info
    Jul 11 15:15:26 Dustin-PC systemd[1]: apache2.service: control process exited, c
    Jul 11 15:15:26 Dustin-PC systemd[1]: Failed to start LSB: Apache2 web server.
    -- Subject: Unit apache2.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit apache2.service has failed.
    --
    -- The result is failed.
    Jul 11 15:15:26 Dustin-PC systemd[1]: Unit apache2.service entered failed state.
    Jul 11 15:15:26 Dustin-PC systemd[1]: apache2.service failed.
    Jul 11 15:15:26 Dustin-PC sudo[4992]: pam_unix(sudo:session): session closed for
    Jul 11 15:15:26 Dustin-PC polkitd(authority=local)[715]: Unregistered Authentica
    ESCOC

    ng up.
    * Starting web server apache2
    *
    * The apache2 configtest failed.
    Output of config test was:
    AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/000-default.conf
    AllowOverride not allowed here
    Action 'configtest' failed.
    The Apache error log may have more information.
    ache2.service: control process exited, code=exited status=1
    iled to start LSB: Apache2 web server.
    led

    /mailman/listinfo/systemd-devel

    it apache2.service entered failed state.
    ache2.service failed.
    m_unix(sudo:session): session closed for user root
    ity=local)[715]: Unregistered Authentication Agent for unix-process:4994:725691
    ESCOC

    c/apache2/sites-enabled/000-default.conf:


    rmation.
    ode=exited status=1

    user root
    tion Agent for unix-process:4994:725691 (system bus name :1.84, object path /org
    ESCOD

    ng up.
    * Starting web server apache2
    *
    * The apache2 configtest failed.
    Output of config test was:
    AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/000-default.conf
    AllowOverride not allowed here
    Action 'configtest' failed.
    The Apache error log may have more information.
    ache2.service: control process exited, code=exited status=1
    iled to start LSB: Apache2 web server.
    led

    /mailman/listinfo/systemd-devel

    it apache2.service entered failed state.
    ache2.service failed.
    m_unix(sudo:session): session closed for user root
    ity=local)[715]: Unregistered Authentication Agent for unix-process:4994:725691

  • #2
    Okay hatte kein <directory>, jedoch geht das routing trotzdem nicht..

    Kommentar


    • #3
      AllowOverride ist eine eigene Direktive, keine Option.
      Außerdem bei Options nicht + und - für die einzelnen Eigenschaften vergessen.

      http://httpd.apache.org/docs/current/de/mod/core.html

      Kommentar

      Lädt...
      X