Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
redirecting to htdocs 301/302
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: redirecting to htdocs 301/302
redirecting to htdocs 301/302
20-12-2009 2:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi and season greetings to one and all.
I need to create a redirect to pages in htdocs on plusnet from my ccgi pages. Could someone please tell me the correct full / absolute path to htdocs so i can amend ascript please?
I have tried /local/apache/htdocs/ and the syntax, /share/isp/plusnet/www/us/username/htdocs - where /us are the first 2 letters of my username. Neither appear correct - or have i missed something?
Thanks![flash=200,200][/flash]
I need to create a redirect to pages in htdocs on plusnet from my ccgi pages. Could someone please tell me the correct full / absolute path to htdocs so i can amend ascript please?
I have tried /local/apache/htdocs/ and the syntax, /share/isp/plusnet/www/us/username/htdocs - where /us are the first 2 letters of my username. Neither appear correct - or have i missed something?
Thanks![flash=200,200][/flash]
Message 1 of 3
(2,146 Views)
2 REPLIES 2
Re: redirecting to htdocs 301/302
20-12-2009 6:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi dazed,
Homepages is on a different server, so you need to use a redirect, not an alias and use the url rather than a file path. Something like
Gabe
Homepages is on a different server, so you need to use a redirect, not an alias and use the url rather than a file path. Something like
Redirect 301 / http://www.username.plus.com/which will redirect anything below / to its equivalent location under http://www.username.plus.com/ or, if you want all requests to redirect to the index file, use
RedirectMatch 301 ^ http://www.username.plus.com/
Gabe
Message 2 of 3
(382 Views)
Re: redirecting to htdocs 301/302
20-12-2009 7:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Gabe,
Thanks for the advice.
Doh, rather than re-invent the wheel I'll just .htaccess redirect, much simples.
Thanks again and merry crimble
Thanks for the advice.
Doh, rather than re-invent the wheel I'll just .htaccess redirect, much simples.
Thanks again and merry crimble
Message 3 of 3
(382 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: redirecting to htdocs 301/302