Skip to content

Instantly share code, notes, and snippets.

@Prinzhorn
Created July 13, 2017 18:14
Show Gist options
  • Select an option

  • Save Prinzhorn/37628417d3b19dc5d87605d80a58d29b to your computer and use it in GitHub Desktop.

Select an option

Save Prinzhorn/37628417d3b19dc5d87605d80a58d29b to your computer and use it in GitHub Desktop.

Revisions

  1. Prinzhorn created this gist Jul 13, 2017.
    4 changes: 4 additions & 0 deletions output
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
    (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    AH00015: Unable to open logs
    2 changes: 2 additions & 0 deletions script.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    source /etc/apache2/envvars
    apache2 -c "DocumentRoot `pwd`" -c "ServerName localhost" -c "Listen 127.0.0.1:8080" -c "AccessFileName .htaccess" -c "ErrorLog /dev/stdout" -c "CustomLog /dev/stdout common" -e debug -DFOREGROUND -k start