Absolute / relative paths problem
Oliver König <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Organization | Windfinder.com |
| Message-ID | <[email protected]> |
Hello, I have got a website on a remote server. All files on the website use absolute paths to other files and images: Document root (in Apache is): /www/htdocs/ For example the file index.html in /www/htdocs/ has an image: <img src="/images/img.png"> and a link to another page: <a href="/folder/page.html">page</a> Apache then looks at /www/htdocs/images/img.png for the image and at /www/htdocs/folder/page.html for the file. I downloaded all files to /www/htdocs/ on my Notebook. I opened Quanta 3.5.6. I created a new Quanta project and in "Directory Settings" I defined /www/htdocs/ as the main directory and inserted all files from /www/htdocs/ into the project. Problem: When I open a html file in Quanta with the VPL editor or the preview the images do not display and the hyperlinks do not. It looks like Quanta cannot handle absolute links. How can fix this problem without changing all references from absolute to relative? Thanks Oliver