Hi there,
I installed Drupal 4.7 on my server yesterday. However the server is not controlled by me (I don't own it). The only way to reference the site is to use an url. But I don't want to use the url I have cause it is hard and complicated. I setup my own registered domain name and am using a DNS entry to proxy from my domain I want to the url I have to use (stealth URL).
eg. It is something like this (this isn't the real address, just so not to make it all public.)
The original url is: http://www.examples.com/~name/drupal/
The registered domain: http://www.mypage.com/
Now I have manged to setup the proxy and it works. I can see my drupal page perfectly. The theme loads, the pages when i select in the administrators area loads. However, when I go to makes changes such as adding a new page or editing an existing page/node I run into problems. For some reason the request appends ~name/drupal/ twice onto the request and therefore fail i.e.
The requested URL /~name/drupal/~name/drupal/ was not found on this server. is the error message.
I have tried to code in the $base_url in the settings.php and I have also tried to add a fix I found on drupal where you don't hard code the link in but rather use php to discover the base url and setup the base url. Neither of these solutions seem to fix the adding nodes problem.
If you need to see the problem first hand I would allow individual to gain access to the real site with admin privilages of sorts to test and see the real issue.
Thank you in advance.
Wickus

Comments

nienaber’s picture

what I have figured out is that the form appends the ~name/drupal to the form action. Now how do I stop it from doing this?
eg:
<form action="/%7Ename/drupal/?q=node/1/edit&destination=admin%2Fnode" method="post" id="node-form">
<div>
should be:
<form action="/?q=node/1/edit&destination=admin%2Fnode" method="post" id="node-form">
<div>