Current time: 10-06-2024, 12:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<Locations> hinzufuegen?!
Author Message
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #1
<Locations> hinzufuegen?!
hallo.

ich hab n problem mit nem setup und zwar wollt ich das rutorrent webinterface einbinden. nur komm ich da nich weiter.

die meisten tutorials sind nur mit lighttpd aber das funktioniert ja
nicht mit ispCP und die tuts mit apache2 schreiben folgendes vor:

Quote: <Location /rutorrent>
AuthType Digest
AuthName "bla"
AuthDigestDomain /var/www/rutorrent/ http://domainname/rutorrent
AuthDigestProvider file
AuthUserFile /etc/apache2/passwords
Require valid-user
SetEnv R_ENV "/var/www/rutorrent"
</Location>

das ganze soll in die default config von /etc/apache2/sites-available/ ..
das dumme ist dass die ja nich von ispCP genutzt wird.
ich hab das in die 00_master.conf und ispcp.conf eingebunden,brachte nix!
natuerlich hab ich auch domainname mit meiner ip/domain ausgewechselt.

aber wie krieg ich das nun da mit eingebunden?

wenn ich also dann http://domainname.de/rutorrent/ mach, dass ich auf das webinterface komme. wie?? :-(

ich danke schon mal im voraus!
07-29-2010 05:14 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: <Locations> hinzufuegen?!
Soll das /rutorrent in allen Domains gelten oder nur in einer (ggf. in der masater/ispcp domain)?

Für einzelne Domains sollte das in die /etc/apache2/ispcp/domain.conf - im fall von ispcp-domain: in die 00_master.conf. Für alle Domains: dann würde ich das in das Template aufnehmen: /etc/ispcp/apache2/parts/ - musst halt etwas suchen, um den richtigen Ort zu finden (und zB. ob das auch in Alias-Domains und sunbdomains rein muss...)

/Joxi
07-29-2010 09:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #3
RE: <Locations> hinzufuegen?!
Ich wage zu bezweifeln, dass folgende Zeile klappt:
Code:
AuthUserFile /etc/apache2/passwords


Knut
07-29-2010 11:43 PM
Find all posts by this user Quote this message in a reply
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #4
RE: <Locations> hinzufuegen?!
(07-29-2010 09:16 PM)joximu Wrote:  Soll das /rutorrent in allen Domains gelten oder nur in einer (ggf. in der masater/ispcp domain)?

Für einzelne Domains sollte das in die /etc/apache2/ispcp/domain.conf - im fall von ispcp-domain: in die 00_master.conf. Für alle Domains: dann würde ich das in das Template aufnehmen: /etc/ispcp/apache2/parts/ - musst halt etwas suchen, um den richtigen Ort zu finden (und zB. ob das auch in Alias-Domains und sunbdomains rein muss...)

es reicht wenn es fuer eine domain funktioniert. die domain die in ispCP angelegt wurde.

habe es nun in /etc/apache2/ispcp/domain.conf eingefuegt, es kommt
auchdie pw abfrage aber es wird dann nich zur index.htm in /var/www/rutorrent/ weiter geleiter :-(
07-30-2010 03:36 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: <Locations> hinzufuegen?!
Gibt's was im error.log?

Ich tippe mal auf override FileInfo, was nicht zugelassen ist in der Config.

http://httpd.apache.org/docs/2.2/mod/mod...tml#setenv

dh. setenv ist nicht erlaubt, bevor man es nicht explizit erlaubt...

aber ich kann auch falsch liegen... irgendwo sollte jedoch mehr Infos in einem der Logs stehen.

/J
07-30-2010 06:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grisu Offline
Junior Member
*

Posts: 64
Joined: Jun 2009
Reputation: 0
Post: #6
RE: <Locations> hinzufuegen?!
Musst du nicht noch ein Alias oder so setzen, damit der Apache auch weiss, wo im FILESYSTEM die Dateien zu finden sind... Oder hast das weiter oben gemacht?
<Location> allein konfiguriert ja nur den Pfad in der URL.
Also sowas....

(07-29-2010 05:14 AM)u53r Wrote:  
Quote:
Alias /rutorrent /var/www/rutorrent

<Location /rutorrent>
AuthType Digest
AuthName "bla"
AuthDigestDomain /var/www/rutorrent/ http://domainname/rutorrent
AuthDigestProvider file
AuthUserFile /etc/apache2/passwords
Require valid-user
SetEnv R_ENV "/var/www/rutorrent"
</Location>
(This post was last modified: 07-30-2010 08:41 PM by grisu.)
07-30-2010 08:41 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: <Locations> hinzufuegen?!
grisu hat ein gutes Argument... .-)
07-30-2010 10:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #8
RE: <Locations> hinzufuegen?!
wo finde ich die error.log datei und wo muss ich das SetEnv einfuegen bzw aendern?

ich hatte auch ne alias hinzu gefuegt aber irgendwie fand er dann nich alles.
irgendwie fehlten dateien obwohl sie ja im selben ordner waren.


hier ist das was von dem webinterface dann gemeldet wird:

Quote:[31.07.2010 23:54:11] WebUI started.
[31.07.2010 23:54:12] Bad response from server: (500 [error,getplugins]) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ispCP OMEGA - Error 500</title> <meta name="robots" content="nofollow, noindex" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="/errors/inc/errordocs.js" type="text/javascript"></script> <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="zh"> <div id="content"> <h2>Error 500!</h2> <br /> <span class="path"><script type="text/javascript"> document.write(get_path()); </script></span> <h3>Internal Server Error!</h3> </div> </div> </body> </html>
[31.07.2010 23:54:12] Bad response from server: (500 [error,getuisettings]) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ispCP OMEGA - Error 500</title> <meta name="robots" content="nofollow, noindex" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="/errors/inc/errordocs.js" type="text/javascript"></script> <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="zh"> <div id="content"> <h2>Error 500!</h2> <br /> <span class="path"><script type="text/javascript"> document.write(get_path()); </script></span> <h3>Internal Server Error!</h3> </div> </div> </body> </html>

also wohl ein fcgi problem oder so??
(This post was last modified: 08-01-2010 07:55 AM by u53r.)
08-01-2010 06:14 AM
Find all posts by this user Quote this message in a reply
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #9
RE: <Locations> hinzufuegen?!
hallo??
08-04-2010 01:45 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: <Locations> hinzufuegen?!
guck in /var/log/apache2/error* oder so (ggf. im Unterverzeichnis users).

und die suexec.log nicht vergessen (500er Fehler).

probier mal ohne der SetEnv korrektur, aber mit dem Alias....

Falls setEnv nötig (sollte aus den Logs ersichtlich sein): die Zeile "Override...." mit FileInfo erweitern...

/J
08-04-2010 08:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 16 Guest(s)