Beiträge von kibondianer
-
-
Code: httpd.conf
Alles anzeigen# # /etc/apache2/httpd.conf # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information about # the directives. # Based upon the default apache configuration file that ships with apache, # which is based upon the NCSA server configuration files originally by Rob # McCool. This file was knocked together by Peter Poeml <poeml+apache@suse.de>. # If possible, avoid changes to this file. It does mainly contain Include # statements and global settings that can/should be overridden in the # configuration of your virtual hosts. # Quickstart guide: # http://en.opensuse.org/SDB:Apache_installation # Overview of include files, chronologically: # # httpd.conf # | # |-- uid.conf . . . . . . . . . . . . . . UserID/GroupID to run under # |-- server-tuning.conf . . . . . . . . . sizing of the server (how many processes to start, ...) # |-- loadmodule.conf . . . . . . . . . . . [*] load these modules # |-- listen.conf . . . . . . . . . . . . . IP adresses / ports to listen on # |-- mod_log_config.conf . . . . . . . . . define logging formats # |-- global.conf . . . . . . . . . . . . . [*] server-wide general settings # |-- mod_status.conf . . . . . . . . . . . restrict access to mod_status (server monitoring) # |-- mod_info.conf . . . . . . . . . . . . restrict access to mod_info # |-- mod_reqtimeout.conf . . . . . . . . . set timeout and minimum data rate for receiving requests # |-- mod_cgid-timeout.conf . . . . . . . . set CGIDScriptTimeout if mod_cgid is loaded/active # |-- mod_usertrack.conf . . . . . . . . . defaults for cookie-based user tracking # |-- mod_autoindex-defaults.conf . . . . . defaults for displaying of server-generated directory listings # |-- mod_mime-defaults.conf . . . . . . . defaults for mod_mime configuration # |-- errors.conf . . . . . . . . . . . . . customize error responses # |-- ssl-global.conf . . . . . . . . . . . SSL conf that applies to default server _and all_ virtual hosts # | # |-- default-server.conf . . . . . . . . . set up the default server that replies to non-virtual-host requests # | |--mod_userdir.conf . . . . . . . . enable UserDir (if mod_userdir is loaded) # | `--conf.d/apache2-manual?conf . . . add the docs ('?' = if installed) # | # `-- vhosts.d/ . . . . . . . . . . . . . . for each virtual host, place one file here # `-- *.conf . . . . . . . . . . . . . (*.conf is automatically included) # # # Files marked [*] are NOT read when server is started via systemd service. When server # is started via service, defaults from /etc/sysconfig/apache2 are taken into account. # # Filesystem layout: # # /etc/apache2/ # |-- charset.conv . . . . . . . . . . . . for mod_auth_ldap # |-- conf.d/ # | |-- apache2-manual.conf . . . . . . . conf that comes with apache2-doc # | |-- mod_php4.conf . . . . . . . . . . (example) conf that comes with apache2-mod_php4 # | `-- ... . . . . . . . . . . . . . . . other configuration added by packages # |-- default-server.conf # |-- errors.conf # |-- httpd.conf . . . . . . . . . . . . . top level configuration file # |-- listen.conf # |-- magic # |-- mime.types -> ../mime.types # |-- mod_autoindex-defaults.conf # |-- mod_info.conf # |-- mod_log_config.conf # |-- mod_mime-defaults.conf # |-- mod_perl-startup.pl # |-- mod_status.conf # |-- mod_userdir.conf # |-- mod_usertrack.conf # |-- server-tuning.conf # |-- ssl-global.conf # |-- ssl.crl/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificate Revocation Lists (CRL) # |-- ssl.crt/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificates # |-- ssl.csr/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificate Signing Requests # |-- ssl.key/ . . . . . . . . . . . . . . PEM-encoded RSA Private Keys # |-- ssl.prm/ . . . . . . . . . . . . . . public DSA Parameter Files # |-- global.conf # |-- loadmodule.conf # |-- uid.conf # `-- vhosts.d/ . . . . . . . . . . . . . . put your virtual host configuration (*.conf) here # |-- vhost-ssl.template # `-- vhost.template ### Global Environment ###################################################### # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests. # run under this user/group id Include /etc/apache2/uid.conf # - how many server processes to start (server pool regulation) # - usage of KeepAlive Include /etc/apache2/server-tuning.conf # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a <VirtualHost> # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a <VirtualHost> # container, that host's errors will be logged there and not here. ErrorLog /var/log/apache2/error_log # generated from default value of APACHE_MODULES in /etc/sysconfig/apache2 <IfDefine !SYSCONFIG> Include /etc/apache2/loadmodule.conf </IfDefine> # IP addresses / ports to listen on Include /etc/apache2/listen.conf # predefined logging formats Include /etc/apache2/mod_log_config.conf # generated from default values of global settings in /etc/sysconfig/apache2 <IfDefine !SYSCONFIG> Include /etc/apache2/global.conf </IfDefine> # optional mod_status, mod_info Include /etc/apache2/mod_status.conf Include /etc/apache2/mod_info.conf # mod_reqtimeout protects the server from the so-called "slowloris" # attack: The server is not swamped with requests in fast succession, # but with slowly transmitted request headers and body, thereby filling up # the request slots until the server runs out of them. # mod_reqtimeout is lightweight and should deliver good results # with the configured default values. You shouldn't notice it at all. Include /etc/apache2/mod_reqtimeout.conf # Fix for CVE-2014-0231 introduces new configuration parameter # CGIDScriptTimeout. This directive and its effect prevent request # workers to be eaten until starvation if cgi programs do not send # output back to the server within the timout set by CGIDScriptTimeout. Include /etc/apache2/mod_cgid-timeout.conf # optional cookie-based user tracking # read the documentation before using it!! Include /etc/apache2/mod_usertrack.conf # configuration of server-generated directory listings Include /etc/apache2/mod_autoindex-defaults.conf # associate MIME types with filename extensions TypesConfig /etc/apache2/mime.types Include /etc/apache2/mod_mime-defaults.conf # set up (customizable) error responses Include /etc/apache2/errors.conf # global (server-wide) SSL configuration, that is not specific to # any virtual host Include /etc/apache2/ssl-global.conf # forbid access to the entire filesystem by default <Directory /> Options None AllowOverride None <IfModule !mod_access_compat.c> Require all denied </IfModule> <IfModule mod_access_compat.c> Order deny,allow Deny from all </IfModule> </Directory> # use .htaccess files for overriding, AccessFileName .htaccess # and never show them <Files ~ "^\.ht"> <IfModule !mod_access_compat.c> Require all denied </IfModule> <IfModule mod_access_compat.c> Order allow,deny Deny from all </IfModule> </Files> # List of resources to look for when the client requests a directory DirectoryIndex index.html index.html.var ### 'Main' server configuration ############################################# # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # <VirtualHost> definition. These values also provide defaults for # any <VirtualHost> containers you may define later in the file. # # All of these directives may appear inside <VirtualHost> containers, # in which case these default settings will be overridden for the # virtual host being defined. # Include /etc/apache2/default-server.conf ### Virtual server configuration ############################################ # # 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.4/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. # IncludeOptional /etc/apache2/vhosts.d/*.conf # Note: instead of adding your own configuration here, consider # adding it in your own file (/etc/apache2/httpd.conf.local) # putting its name into APACHE_CONF_INCLUDE_FILES in # /etc/sysconfig/apache2 -- this will make system updates # easier :)
-
Code
Alles anzeigen<?php /** * phpVirtualBox example configuration. * @version $Id: config.php-example 585 2015-04-04 11:39:31Z imoore76 $ * * rename to config.php and edit as needed. * */ class phpVBoxConfig { /* Username / Password for system user that runs VirtualBox */ var $username = 'vbox'; var $password = 'vbox'; /* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */ var $location = 'http://127.0.0.1:18083/'; /* Default language. See languages folder for more language options. * Can also be changed in File -> Preferences -> Language in * phpVirtualBox. */ var $language = 'de'; /* Set the standard VRDE Port Number / Range, e.g. 1010-1020 or 1027 */ var $vrdeports = '9000-9100'; /* * * Not-so-common options / tweaking * */ // Multiple servers example config. Uncomment (remove /* and */) to use. // Add ALL the servers you want to use. Even if you have the server set // above. The default server will be the first one in the list. /* var $servers = array( array( 'name' => 'London', 'username' => 'user', 'password' => 'pass', 'location' => 'http://192.168.1.1:18083/', 'authMaster' => true // Use this server for authentication ), array( 'name' => 'New York', 'username' => 'user2', 'password' => 'pass2', 'location' => 'http://192.168.1.2:18083/' ), ); */ // Disable authentication #var $noAuth = true; // Host / ip to use for console connections #var $consoleHost = '192.168.1.40'; // Disable "preview" box #var $noPreview = true; // Default preview box update interval in seconds #var $previewUpdateInterval = 30; // Preview box pixel width #var $previewWidth = 180; // Max number of progress operations to keep in list var $maxProgressList = 5; // Change default preview aspect ratio to 1. // http://www.wikipedia.org/wiki/Aspect_ratio_(image)#Previous_and_presently_used_aspect_ratios #var $previewAspectRatio = 1.6; // Enable custom VM icons #var $enableCustomIcons = true; /* Exclusively use phpVirtualBox's groups configuration rather than VirtualBox groups. This has the following effects: *) Group changes made in phpVirtualBox will not be reflected in VirtualBox programs such as VirtualBox and VBoxManage *) Group changes will not affect which folder a VM is placed in *) You can rename groups that contain running VMs and move / copy running VMs to groups */ #var $phpVboxGroups = true; /* Allow to prompt deletion hard disk files on removal from Virtual Media Manager. If this is not set, files are always kept. If this is set, you will be PROMPTED to decide whether or not you would like to delete the hard disk file(s) when you remove a hard disk from virtual media manager. You may still choose not to delete the file when prompted. */ var $deleteOnRemove = true; /* * File / Folder browser settings */ // Restrict file types var $browserRestrictFiles = array('.iso','.vdi','.vmdk','.img','.bin','.vhd','.hdd','.ovf','.ova','.xml','.vbox','.cdr','.dmg','.ima','.dsk','.vfd'); // Restrict locations / folders #var $browserRestrictFolders = array('D:\\','C:\\Users\\Ian'); // Or something like array('/home/vbox','/var/ISOs') // Force use of local, web server based file browser instead of going through vboxwebsrv #var $browserLocal = true; // Disable file / folder browser. #var $browserDisable = true; // Disable Windows drive detection #var $noWindowsDriveList = true; // Just list all drives from C:\ - Z:\ without checking if they exist or not. // This may be required on older Windows systems with more than one drive. #var $forceWindowsAllDriveList = true; /* * Misc */ /* * Auto-refresh interval in seconds for VirtualBox host memory usage information. * Any value below 3 will be ignored. */ var $hostMemInfoRefreshInterval = 5; /* Show % of free host memory instead of % used */ #var $hostMemInfoShowFreePct = true; /* * VM Memory warnings. * * If $vmMemoryStartLimitWarn is enabled, each time a VM is started through * phpVirtualBox, it will check that the available host memory is greater than * the base and video memory of the VM + 50MB (a little bit of overhead). If it * is not, a confirmation dialog will be presented to confirm that you want to * start the VM. * * If $vmMemoryOffset is set (and $vmMemoryStartLimitWarn), $vmMemoryOffset * megabytes is subtracted from the available host memory before the check is * performed by $vmMemoryStartLimitWarn logic. For instance it may be a good * idea to always have VM memory requirements + 100MB free. 100 is the default. */ #var $vmMemoryStartLimitWarn = true; #var $vmMemoryOffset = 100; /* * Display guest additions version of a running VM on its Details tab */ #var $enableGuestAdditionsVersionDisplay = true; /* Disable any of phpVirtualBox's main tabs */ #var $disableTabVMSnapshots = true; // Snapshots tab #var $disableTabVMConsole = true; // Console tab /* Screen resolutions for console tab */ var $consoleResolutions = array('640x480','800x600','1024x768','1280x720','1440x900'); /* Console tab keyboard layout. Currently Oracle's RDP client only supports EN and DE. */ var $consoleKeyboardLayout = 'EN'; /* Max number of network cards per VM. Do not set above VirtualBox's limit (typically 8) or below 1 */ var $nicMax = 4; /* Enable advanced configuration items (normally hidden in the VirtualBox GUI) * Note that some of these items may not be translated to languages other than English. */ #var $enableAdvancedConfig = true; /* Enable startup / shutdown configuration. * This only works in linux and you must add the vboxinit file to * your startup scripts list. */ #var $startStopConfig = true; // Authentication library. // var $authLib = 'Builtin'; // VM ownership #var $enforceVMOwnership = true; // Per-user VM quota #var $vmQuotaPerUser = 2; // Allow VDE network configuration. This must be supported by the underlying VirtualBox installation! // If you do not know what VDE networking is - you do not need it, it is probably not supported by your // VirtualBox installation and will cause errors if enabled. #var $enableVDE = true; // Disable setting SATA controllers port count to the max port number found when saving VMs. #var $disableSataPortCount = true; /* Enable Parallel Port configuration - EXPERIMENTAL LPT support may or may not work for you. !!! VirtualBox LPT support only works in Linux. !!! */ #var $enableLPTConfig = true; /* Enable HardDisk IgnoreFlush configuration. This controls the "ExtraData" setting * in "VBoxInternal/Devices/[controller type]/0/LUN#[x]/Config/IgnoreFlush". See * Responding to guest IDE/SATA flush requests at: * http://www.virtualbox.org/manual/ch12.html#idp12757424 */ #var $enableHDFlushConfig = true; /* * Event listener timeout in seconds. This is an advanced option that most people will * probably not need to change. */ #var $eventListenerTimeout = 20; /* END SETTINGS */ }
-
Sorry ,
bin wieder im Lande........war beruflich unterwegs.
So anbei mal meine config 's -
Der Port ist frei.
Ich habe es auch schon mit 127.0.0.1 als IP und mit localhost probiert.Es macht auch keinen Unterschied ob die Firewall aus ist , oder an mit freigeschaltetem Port.
-
Sorry das du das fragen musst , da das bei mir aber alles geht.....
habe ich es jetzt nicht in betracht gezogenApache geht , php geht , wordpress geht , mysql geht.....keine Probleme bei denen
-
Es ist nur der Haupthost defininiert.Im Yast habe ich unter den Diensten den Http Server aktiviert.Dieser geht auch , denn ich ich bekomme die Meldung It works, wenn ich im browser den localhost aufrufe , oder halt die IP.
-
Nein ich habe Apache nicht umgebogen....
-
Ausgabe von ls -l /srv/www
Codetotal 24 drwxr-xr-x 2 root root 4096 Feb 1 20:09 cgi-bin drwxr-xr-x 4 root root 4096 Oct 29 21:43 htdig drwxr-xr-x 8 root root 4096 Feb 5 13:30 htdocs drwxr-xr-x 2 root root 4096 Jan 2 11:31 icons drwxr-xr-x 2 root root 4096 Sep 11 12:08 perl-lib
Ausgabe von systemctl status vboxweb-service.service
-
Zitat
Ich wollte wissen, was auf dem Host und was in der VBox läuft.
Wo läuft der Webserver, wo der Browser?
Also auf dem Host läuft Leap42.1 (Mein Laptop) , in der Vbox win7 und oder win10 .Der Webserver läuft auf dem Laptop.Der Browser läuft auf dem Laptop und in WIn7/Win10 mit der gleichen Fehlermeldung.
Bitte auch Zitate setzen!