Current time: 11-29-2024, 06:41 AM Hello There, Guest! (LoginRegister)


Post Reply 
url rewriting
Author Message
semor Offline
Junior Member
*

Posts: 68
Joined: Mar 2009
Reputation: 0
Post: #1
url rewriting
une solution pour activer le mode rewriting d'apache avec ispcp?
06-30-2009 05:43 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: #2
RE: url rewriting
fait ca avec la methode de ton distribution
par example debian: a2enmod rewrite

et les regles dans le .htaccess (sans ispCP)

/J
06-30-2009 06:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
semor Offline
Junior Member
*

Posts: 68
Joined: Mar 2009
Reputation: 0
Post: #3
RE: url rewriting
j'ai essayé cette solution avec un site joomla mais dès que je passe le htaccess.txt en .htaccess ça ne fonctionne plus, j'ai une erreur 500.
06-30-2009 11:50 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: #4
RE: url rewriting
erreur 500 -> suexec.log ?
07-01-2009 05:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
semor Offline
Junior Member
*

Posts: 68
Joined: Mar 2009
Reputation: 0
Post: #5
RE: url rewriting
(07-01-2009 05:26 AM)joximu Wrote:  erreur 500 -> suexec.log ?

-rw-r----- 1 root adm 840 jun 30 23:08 suexec.log
-rw-r----- 1 root adm 4452 jun 24 22:11 suexec.log.1
-rw-r----- 1 root adm 151 jun 16 20:47 suexec.log.2.gz
-rw-r----- 1 root adm 203 jun 12 21:24 suexec.log.3.gz
-rw-r----- 1 root adm 191 jun 5 11:19 suexec.log.4.gz
-rw-r----- 1 root adm 208 mai 29 15:17 suexec.log.5.gz
-rw-r----- 1 root adm 127 mai 18 18:02 suexec.log.6.gz
-rw-r----- 1 root adm 135 mai 16 18:49 suexec.log.7.gz
-rw-r----- 1 root adm 374 mai 6 21:39 suexec.log.8.gz
-rw-r--r-- 1 root www-data 452 mai 2 14:41 suexec.log.9.gz

Sad
07-01-2009 07:26 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: #6
RE: url rewriting
le contenu... Smile

cat /var/log/apache2/suexec.log

/J
07-01-2009 07:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
semor Offline
Junior Member
*

Posts: 68
Joined: Mar 2009
Reputation: 0
Post: #7
RE: url rewriting
(07-01-2009 07:51 PM)joximu Wrote:  le contenu... Smile

cat /var/log/apache2/suexec.log

/J

Code:
www:~# cat /var/log/apache2/suexec.log
[2009-06-28 06:44:36]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-28 10:26:45]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-29 17:02:20]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-star                                                                             ter
[2009-06-29 20:46:48]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-29 23:01:24]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-star                                                                             ter
[2009-06-30 13:51:38]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-30 13:53:28]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-30 23:08:11]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-30 23:08:12]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
[2009-06-30 23:08:15]: uid: (2001/vu2001) gid: (2001/vu2001) cmd: php5-fcgi-star                                                                             ter
07-01-2009 07:57 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: #8
RE: url rewriting
ok.

Est-ce-que le /var/log/apache2/users/domain-error.log est aussi vide?

aussi ecrit le contenu de ton .htaccess...

/J (je ne suis pas francophone... mais j'essaye... :-)
07-01-2009 08:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
semor Offline
Junior Member
*

Posts: 68
Joined: Mar 2009
Reputation: 0
Post: #9
RE: url rewriting
(07-01-2009 08:53 PM)joximu Wrote:  ok.

Est-ce-que le /var/log/apache2/users/domain-error.log est aussi vide?

aussi ecrit le contenu de ton .htaccess...

/J (je ne suis pas francophone... mais j'essaye... :-)

le domain-error.log est plein! mais à chaque fois que j'essaye de poster sur le forum Bad request!

sinon mon htaccess. :
<php1?>
07-01-2009 10:39 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: #10
RE: url rewriting
tu peut envoie un part du log par mel ou pm...

et le .htaccess?

Code:
<php1?>
???

c'est pas un valable text dans un .htaccess!

/J
07-02-2009 08:01 AM
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: 1 Guest(s)