PDA

View Full Version : Strange RewriteRule Problem


rkeusch
5th September 2007, 16:16
i have a small problem in my Vhosts_ispconfig.conf. there is always a rule "RewriteRule ^/(.*)$ http://www.mydomain.com/test$1 [R]"... but why? i played with a sub-domain test.mydomain.com and with a co-domain "test". but both of them i have already deleted and all recycle bins are empty :(
but after a reboot of the server i have always this RewriteRule in my Vhosts file. where is this rule located? how could i deleted this entry permanently?

greets roli

till
6th September 2007, 13:11
Please check if your Vhost_ispconfig.conf is not being updated due to a syntax error:

http://www.howtoforge.com/forums/showthread.php?t=13596&highlight=date+appended

rkeusch
7th September 2007, 11:06
hi till

i have no warning in my ispconfig log. i have also a new co-domain created yesterday and all changes are correct in the vhost file... and my entry is also still there :(

till
8th September 2007, 12:42
If the rewrite rule is still there, the domain must sztill exist in the database. Please check all recycle bin's.

rkeusch
8th September 2007, 17:55
i checked all recycle bin's once again... but they are all empty :( could you tell me in witch table this information is stored?

rkeusch
1st November 2007, 15:41
till,

could please say me where this entry are stored in ispconfig? i have still this problem :(

till
2nd November 2007, 13:55
in the table isp_isp_domian. But do not delete it there manually without deleting all dependant records in isp_dep and isp_nodes, otherwise you will mess up the database structure.

rkeusch
5th November 2007, 20:23
till,

is it possible that you give me a short instruction how i'm be sure that i delete the right dependencies. thx

till
6th November 2007, 10:32
For isp_nodes table:

isp_nodes.doc_id = isp_isp_domain.doc_id AND isp_nodes.doctype_id = isp_isp_domain.doctype_id

For isp_dep table:

isp_dep.child_doc_id = isp_isp_domain.doc_id AND isp_dep.child_doctype_id = isp_isp_domain.doctype_id

rkeusch
7th November 2007, 22:36
till,

thanks for this great "how to"! i could fix now my problem!