..hmmm.........få se nu......hmmmm.
startproblem (apache2)
Visa signatur
rc-update add apache2 default ??? Lägger till /etc/init.d/apache2 (2!) att startas när datorn startas.
Vad står /etc/apache2/vhosts.d/vhost.conf ?
Visa signatur
Plan9 fan. In glenda we trust.
Citera flera
Citera
Jag har redan lagt till "rc-update add apache2 default" men det konstiga är att det inte fungerar men det fungerar om jag startar om apache2 med "/etc/init.d/apache2 start".
/etc/apache2/vhosts.d/00_default_vhost.conf
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
# CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
#</VirtualHost>
#
# The First Virtual Host is also your DEFAULT Virtual Host.
# This means any requests that do not match any other vhosts will
# goto this virtual host.
#
<IfDefine DEFAULT_VHOST>
<VirtualHost *:80>
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/localhost/htdocs"
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/www/localhost/htdocs">
#
# Possible 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.0/mod/core.html#options
# for more information.
#
Options Indexes 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.
#
Order allow,deny
Allow from all
</Directory>
<IfModule peruser.c>
# this must match a Processor
# 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.0/mod/core.html#options
# for more information.
#
Options Indexes 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.
#
Order allow,deny
Allow from all
</Directory>
<IfModule peruser.c>
# this must match a Processor
ServerEnvironment apache apache
# these are optional - defaults to the values specified in httpd.conf
MinSpareProcessors 4
MaxProcessors 20
</IfModule>
</VirtualHost>
</IfDefine>
Ingen som vet?
Senast redigerat
Visa signatur
..hmmm.........få se nu......hmmmm.
Citera flera
Citera
Hårdvara
- Idag Corsair Platform 6: För dig som inte nöjer dig med Ikea-skrivbord 0
- Idag Rykte: Switch 2 släpps i höst – OLED-variant dröjer 23
- Idag Iphones marknadsandel faller i USA 41
- Igår Airtec Pro Type1 – batteridrivet alternativ till tryckluft på burk 78
- Igår Nu stiger hårddiskpriserna med uppemot 10 procent 21
Mjukvara
Datorkomponenter
Ljud, bild och kommunikation
- Skärm för MacBook Pro & ps50
- IT-bolag: Teknikstrul är största tidsboven idag38
- Iphones marknadsandel faller i USA41
- SweClockers - Marknadsreferenser (läs första inlägget innan du postar!)13914
- EU röstar igenom ”rätten att reparera”59
- Köpråd - Speldator2
- Tråden om Xbox Series X|S7522
- Tankar om ihopplock 33k4
- Vad lyssnar du på just nu?13894
- Speldator runt 12k - Funkar detta?1
- Köpes 24 eller 27 tum minst 144hz
- Säljes MSI GeForce GTX 1070 GAMING X 8G
- Säljes Raspberry Pi 5 8GB
- Säljes Garderobsrensning, möss och keycaps
- Säljes Acer 4K 144Hz XB273KGP - Gaming Prylar - Aio
- Säljes Spelkoder säljes
- Säljes Switchar, Ubiquiti, 2.5-10Gbit
- Köpes NUC - gärna Intel 8th gen (Iris) men allt intressant
- Skänkes i386 Laptop Skänkes!
- Köpes Söker OLED 1440p/2160p 144hz-240hz
- Ny caps lock-symbol i Windows förbryllar HP-användare9
- Corsair Platform 6: För dig som inte nöjer dig med Ikea-skrivbord0
- Rykte: Switch 2 släpps i höst – OLED-variant dröjer23
- NetonNet varnar om läckta kunduppgifter15
- Premiär på SweClockers! Månadens drop med gamingskärm hos Elgiganten62
- IT-bolag: Teknikstrul är största tidsboven idag38
- Därför blockerar Windows 11 24H2 Start‑menyhack37
- Iphones marknadsandel faller i USA41
- Konsumentverket granskar tio nätbutiker som lurat kunder18
- Airtec Pro Type1 – batteridrivet alternativ till tryckluft på burk78
Externa nyheter
Spelnyheter från FZ
- Xbox-försäljningen dök 31 % årets första kvartal idag
- PS Plus-ägare får vänta på Fallout 4-uppdateringen idag
- Spelhelgen knackar på – den kommer med spel! idag
- Switch 2-rykten – Kan släppas 2024, kontrollerna får magnetfästen idag
- People Can Fly har skrotat sitt "banbrytande" action-RPG Project Dagger idag