Page 1 of 1

Vhost problem

Posted: 2003-11-11 16:00
by phpkueken
kann mir jemand mal seine confixx_vhost.conf schicken denn meine scheint ein paar fehler zu haben kann nicht mehr in mein confixx rein bekomme immer 403 fehler zu sehen !

gruß ROlf

Re: Vhost problem

Posted: 2003-11-11 17:09
by bobby
Hi!

Ich denke dir eine conf zu schicken ist der falsche Ansatz.

Der Confixx-VHost istnicht in der Datei confixx_vhost.conf sondern in der httpd.conf

Vielleicht könntest du mal dein httpd.conf (ohne Kommentare) posten, dann kann vielleicht schon erkennen was los ist.

403 bedeutet Zugriff verweigert, Rechteproblem?

Gruß

Bobby

Re: Vhost problem

Posted: 2003-11-11 23:22
by phpkueken
moin, ne weiß ich nicht was los is kann sein ja.

hier meine httpd.conf

Code: Select all

# SSL-confixx:
NameVirtualHost 217.160.132.xxx:443
<VirtualHost 217.160.132.xxx:443>
  ServerName confixx.pxxxxxxxx.pureserver.info
  #User confixx
  #Group users
  DocumentRoot /home/www/confixx/html
  php_admin_value safe_mode_exec_dir /home/www/confixx/bin
  php_admin_value upload_tmp_dir /home/www/confixx/tmp
  ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
  #CustomLog /var/log/httpd/pxxxxxxxx.pureserver.info_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
  #ErrorLog /var/log/httpd/pxxxxxxxx.pureserver.info_error.log

  ServerAdmin webmaster@cbk-rk.de
  ErrorLog /var/log/httpd/ssl-error_log
  TransferLog /var/log/httpd/ssl-access_log
  SSLEngine on
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile /etc/httpd/ssl.crt/server.crt
  SSLCertificateKeyFile /etc/httpd/ssl.key/server.key
 
  <Files ~ ".(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
  </Files>
  <Directory "/srv/www/cgi-bin">
      SSLOptions +StdEnvVars
  </Directory>
 
  SetEnvIf User-Agent ".*MSIE.*" 
           nokeepalive ssl-unclean-shutdown 
           downgrade-1.0 force-response-1.0
    CustomLog /var/log/httpd/ssl_request_log 
            "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
  
</VirtualHost>                                  

</IfDefine>

Include /etc/httpd/suse_include.conf

## CONFIXX
#<Directory "/home/www/confixx/html">
#  AllowOverride All
#</Directory>

Include /etc/httpd/confixx_vhost.conf

<VirtualHost 217.160.132.xxx:80>
  ServerName confixx.pxxxxxxxx.pureserver.info
  
  # Server nur ueber HTTPS konfigurieren:
  # RedirectPermanent / https://confixx.p15138176.pureserver.info/
  # /reg/-URLs gehen damit nicht

  CustomLog /var/log/httpd/pxxxxxxxx.pureserver.info_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
  ErrorLog /var/log/httpd/pxxxxxxxx.pureserver.info_error.log
  #User confixx
  #Group users
  DocumentRoot /home/www/confixx/html
  php_admin_value safe_mode_exec_dir /home/www/confixx/bin
  php_admin_value upload_tmp_dir /home/www/confixx/tmp
  ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
</VirtualHost>
## /CONFIXX

<Directory "/home/www/web4/html/">
 AllowOverride All
 Options SymLinksIfOwnerMatch
</Directory>

<Directory "/home/www/web5/html/">
 AllowOverride All
 Options SymLinksIfOwnerMatch
</Directory>

hoffe das ihr mir helfen könnt verzweifle gerade echt danke

gruß Rolf

Re: Vhost problem

Posted: 2003-11-12 10:51
by phpkueken
kann mir den jemand sagen warum ich nichtmehr ins confixx komme ?!

Re: Vhost problem

Posted: 2003-11-12 12:41
by robertw
Was sagst Du uns den hierzu?
Bobby wrote:403 bedeutet Zugriff verweigert, Rechteproblem?
Welche Rechte/Besitzer hat das Verzeichnis "/home/www/confixx/html" und die untergeordneten Dateien?

Robert

Re: Vhost problem

Posted: 2003-11-12 13:32
by phpkueken
confixx:users

Re: Vhost problem

Posted: 2003-11-12 14:49
by bobby
Und wie siehts mit den Rechten aus? (rwx)

Auch die Dateien im Verzeichnis, etc.

Gruß

Bobby