wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help, I'm trapped in /img and can't get out!

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation
View previous topic :: View next topic  
Author Message
Al



Joined: 07 Jul 2006
Posts: 2
Location: Seattle, Washington

PostPosted: Sat Jul 08, 2006 11:58 am    Post subject: Help, I'm trapped in /img and can't get out! Reply with quote

I must be missing something obvious, as I can find no reference to such a problem in the forum, but this is driving me nuts....

wview uploads all image and html files to the /img directory, including the index.html file.

So how can I set up a web page that links to the parent directory of /img?
In my case, that would be ~/wx/ , as it stands I have to go to ~/wx/img/ to view the page.

I can use an .htaccess file to redirect from /wx to /wx/img/ , but it will still show in the browser window as ~/wx/img/.

Someone please tell me where I have gone wrong!

Many thanks,

Al
Back to top
View user's profile Send private message Visit poster's website
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sat Jul 08, 2006 12:06 pm    Post subject: Reply with quote

Which web server are you using? If apache2 have a look at http://httpd.apache.org/docs/2.0/urlmapping.html#outside
Back to top
View user's profile Send private message
TheBum



Joined: 17 Jun 2006
Posts: 9

PostPosted: Sat Jul 08, 2006 4:21 pm    Post subject: Reply with quote

I use an http-equiv="refresh" meta tag to redirect from "weather" to "weather/img" but, as you say, the final location in the browser's address bar still says "/img". I'd also be interested in knowing how to make the address stay as "weather", although it doesn't really bother me.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group