NetVision-Technik

NetVision-Technik (http://www.netvision-technik.de/forum/index.php)
-   Webserver (http://www.netvision-technik.de/forum/forumdisplay.php?f=9)
-   -   url weiterleitung auf ordner geht nicht. (http://www.netvision-technik.de/forum/showthread.php?t=7567)

wasnun 09.06.2017 15:28

url weiterleitung auf ordner geht nicht.
 
ich habe seit dem neuen root (debian 8) das problem das er keine weiterleitungen mehr nimmt.
000-default.conf
Code:

<VirtualHost *:80>
  ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

   
</VirtualHost>


<VirtualHost url.is-very-nice.org:80>
    ServerName url.is-very-nice.org
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/seite

    <Directory /var/www/html/seite>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        allow from all
    </Directory>

   
    ServerSignature Off
</VirtualHost>

<VirtualHost url2.is-very-nice.org:80>
    ServerName url2.is-very-nice.org
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/seite2

    <Directory /var/www/html/seite2>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        allow from all
    </Directory>

   
    ServerSignature Off
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

vorher ging das immer, ist das bei debian 8 jetzt anders ?

das komische wenn ich es in die 001-default-rutorrent.conf einfüge, geht es aber ich komme nicht mehr auf ruTorrent

tantetoni2 09.06.2017 15:32

Schau doch einfach in die errorlogs, da sollte alles drin stehen

wasnun 09.06.2017 20:23

da steht nur
Code:


[Fri Jun 09 06:25:05.125364 2017] [mpm_prefork:notice] [pid 1167] AH00163: Apache/2.4.10 (Debian) mod_scgi/1.13 configured -- resuming normal operations
[Fri Jun 09 06:25:05.125394 2017] [core:notice] [pid 1167] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jun 09 16:55:22.551827 2017] [mpm_prefork:notice] [pid 1167] AH00169: caught SIGTERM, shutting down
[Fri Jun 09 16:55:23.696366 2017] [mpm_prefork:notice] [pid 30855] AH00163: Apache/2.4.10 (Debian) mod_scgi/1.13 configured -- resuming normal operations
[Fri Jun 09 16:55:23.696407 2017] [core:notice] [pid 30855] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jun 09 16:56:04.228084 2017] [mpm_prefork:notice] [pid 30855] AH00169: caught SIGTERM, shutting down
[Fri Jun 09 16:56:05.497814 2017] [mpm_prefork:notice] [pid 31039] AH00163: Apache/2.4.10 (Debian) mod_scgi/1.13 configured -- resuming normal operations
[Fri Jun 09 16:56:05.497857 2017] [core:notice] [pid 31039] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jun 09 17:00:25.405085 2017] [mpm_prefork:notice] [pid 31039] AH00169: caught SIGTERM, shutting down
[Fri Jun 09 17:00:26.576934 2017] [mpm_prefork:notice] [pid 31654] AH00163: Apache/2.4.10 (Debian) mod_scgi/1.13 configured -- resuming normal operations
[Fri Jun 09 17:00:26.576974 2017] [core:notice] [pid 31654] AH00094: Command line: '/usr/sbin/apache2'



--======================================--
--==
Beitrag erstellt: 21:23 um 17:10 ==--
--==
geantwortet auf Beitrag vom ==--
--== automatische Beitragszusammenführung ==--
--======================================--


wasnun schrieb nach 4 Stunden, 13 Minuten und 17 Sekunden:

ok hab es hinbekommen. fals noch einer das problem haben sollte.
Es trit erst auf nachdem ich rTorrent installiert habe.
die : 000-default.conf kann soweit ignoriet werden. würde sie trotzdem so bearbeiten

Code:

<VirtualHost ip.statt.*.:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

und jetzt wird hauptsächich : 001-default-rutorrent.conf benutzt.
bsp.
Code:

<VirtualHost 9ipdesserver:80>
    ServerName  ipdesserver
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/

    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        allow from all
    </Directory>

   
    ServerSignature Off
</VirtualHost>

<VirtualHost rtorrent.endung:80>
    ServerName rtorrent.endung
    ServerAdmin webmaster@localhost
    DocumentRoot /pfad/zum/ordner/rutorrent/
    ErrorLog /error.log
    CustomLog /access.log combined

    CustomLog /var/log/apache2/rutorrent.log vhost_combined
    ErrorLog /var/log/apache2/rutorrent_error.log
    SCGIMount /rutorrent/RPC2 127.0.0.1:5000

    <Directory "/pfad/zum/ordner/rutorrent">
        AuthName "Tits or GTFO"
        AuthType Basic
        Require valid-user
        AuthUserFile /var/www/html/rutorrent/.htpasswd
    </Directory>

</VirtualHost>

<VirtualHost  url.endung:80>
    ServerName  url.endung
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/test

    <Directory /var/www/html/test>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        allow from all
    </Directory>

   
    ServerSignature Off
</VirtualHost>

kann somit geclosed werden

Bluesteel 10.06.2017 18:48

Dann ist hier zu


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:02 Uhr.

Powered by vBulletin® Version 3.8.9 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.