deepak
09-13-2007, 02:13 PM
Cry for help...
I recently took over a highly complex website built with zope and I really need some help with rewriting the URLs.
Problem: the entire website is loaded in a frame, which was the previous webmasters solution to the URL problem :rolleyes:. The index page has PR5, all other pages are in the sandbox.
I need to first fix the URLs before I can take it out of the frame (or the company won't recognize their own website).
Now the URLs look like this:
http://IP_address:8080/folder1/folder2/index_htm
I want it to look like this:
http://www.mydomain.com/index_htm
In the Site Root, the Base is defined as:
http://IP_address:8080/folder1/
Site Root is not even explained in the Zope documentation anymore. It only says that it is outdated and very dangerous. Mess with it and you are locked out of your own backend!
I don't have direct access to the server and the people running it don't know / care about this issue. I have to send them the code, they will test it and then upload it.
Can this problem be solved with a simple mod_rewrite, or do I have to mess around with the settings and URL creation in Zope? Does anybody have experience with Zope?
If anybody can help me with the mod_rewrite, I will be very thankful.
I recently took over a highly complex website built with zope and I really need some help with rewriting the URLs.
Problem: the entire website is loaded in a frame, which was the previous webmasters solution to the URL problem :rolleyes:. The index page has PR5, all other pages are in the sandbox.
I need to first fix the URLs before I can take it out of the frame (or the company won't recognize their own website).
Now the URLs look like this:
http://IP_address:8080/folder1/folder2/index_htm
I want it to look like this:
http://www.mydomain.com/index_htm
In the Site Root, the Base is defined as:
http://IP_address:8080/folder1/
Site Root is not even explained in the Zope documentation anymore. It only says that it is outdated and very dangerous. Mess with it and you are locked out of your own backend!
I don't have direct access to the server and the people running it don't know / care about this issue. I have to send them the code, they will test it and then upload it.
Can this problem be solved with a simple mod_rewrite, or do I have to mess around with the settings and URL creation in Zope? Does anybody have experience with Zope?
If anybody can help me with the mod_rewrite, I will be very thankful.