Brauechte Hilfe mot Confixx bzw. mod_rewrite

tiburon.lp

New Member
Hallo,

I sitze hier in Mexico, mein Server aber in BRD. Sorry wenn mein deutsch nich' mehr so gut ist. Bin schon einige Zeit weg von Datschiburg. Ich bin aus Buget Gruenden gezwungen das alles selbst raus zu finden. Bin kein IT order admin oder so, habe root zugang. Ich kopiere unten mal rein was ich habe, was ich moachte und was ich gemacht habe und nich' funzt:

Here are my "specs":

Apache/2.0.48 (Linux/SuSE)

PHP Version 4.3.3

Loaded Modules:

core prefork http_core mod_so mod_access mod_actions mod_alias mod_auth mod_auth_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl mod_suexec mod_userdir sapi_apache2 mod_rewrite

Confixx 3.3.0-pro

Ich moechte die mod_rewrite function und .htaccess benutzen koennen fuer "nice URL's" in Wordpress zum Beispiel oder referers redirecten

Ich habe probiert:

I did in /etc/apache2/confixx_mhost.conf

"
<VirtualHost xx.#*$!.#*$!.#*$!:80>

ServerName xyz.de

ServerAlias freenet.de - DSL Internet E-Mail Nachrichten Chat Shopping und alle aktuellen Themen *.xyz.de

RewriteEngine on

</VirtualHost>
"

Gives me 403 after server reboot

I did in at httpd.conf all the way at end:

"
<Directory "/home/htdocs/abc123/html">
AllowOverride All
Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory>
"

After reboot can call site yet when place htaccess get's me 403

Ht access I used:

1.)

RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} craiglist\.org [NC]
RewriteRule .* - [F]

2.)

RewriteEngine On
RewriteRule ^ Google [R,L]

Log error files server/ Error log /var/log/apache2:

1) option above

[Tue Nov 27 18:52:18 2007] [alert] [client #*$!.#*$!.#*$!.#*$!] /srv/www/htdocs/abcxx/html/.htaccess: Invalid command '\xef\xbb\xbfRewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

2) option above

[Tue Nov 27 20:59:08 2007] [error] [client #*$!.#*$!.#*$!.#*$!] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/htdocs/abcXX/html/



.htaccess: I used notepad to create,and saved as "all files", Encoding option "ANSI" as .htaccess and uploaded this file with FTP, tranfer typ ASCII to the root directory of my website (webxx, where my index file is)

In einem US forum habe ich dann folgendes erfragt bzw. angewended:

in vhost_conf.
das gemacht:

<Directory "/srv/www/htdocs/webxx/html">
AllowOverride All <--------------------------------------------- das eingefuegt on den Konten
Options +FollowSymLinks +SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>

und das hat gefunzt.... bis ich eine Aenderung ueber Confixx Kontroll panel gemacht habe.
Wahr alles futsch. Ich nehme an die file wird new geschrieben wenn safe.

Wo kann ich denn nun diese mod_rewrite activieren, einfuegen oder wie auch immer man sagt.

jede Hilfe ist willkommen.

gruesse aus La Paz

T.

P.S. Habe natuerlich hier rumgestoebert und gelesen, finde zum beispiel die httpd-spezial bei mir nicht.
 
Last edited by a moderator:
Back
Top