LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2004, 05:04 AM   #1
Nic-MDKman
Member
 
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
mozilla composer and link paths


Mozilla composer is getting to be about as annoying as netscape composer was under windows, but this time it is partially (if not completely) my fault.

I am using Mozilla composer to edit local HTML files that I am serving via apache. I am editing them directly from the /var/www/html directory.

When I save the files, any page source for links or images gets changed to show the absolute path (no matter what).

For example, I use a background image that is in /var/www/html/Graphics for a web page that is in /var/www/html/, so I use the path /Graphics/mybackground.jpg and save the HTML file. The url gets changed to file:////var/www/html/Graphics/mybackground.jpg and then I have to edit the file in something like kwrite to remove the extra path stuff.

I believe this is related to the fact that I am editing a local file that is on the server, but I need a fix. The only workaround I can find would be to edit the files locally in another dir (like my home dir) and then actually publish them via FTP from my computer to itself. I want to avoid this because that would make me have duplicates of any files that are served as web content.

Anyone know a good workaround?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Discovering hard link paths rozeboom Programming 4 12-18-2003 11:08 AM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 05:46 PM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 11:15 PM
mozilla composer and php ybc Linux - Software 3 04-19-2003 02:37 PM
Mozilla file link Suspect Linux - Newbie 1 08-02-2002 12:45 AM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration