Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Closed Thread
Can i change the Document Root with .htaccess
Old 02-19-2011, 11:28 PM Can i change the Document Root with .htaccess
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
I am on a Shared Server so dont have access to the httpd.conf

Somebody mind explaining the steps how its done?
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
View Public Profile
 
 
Register now for full access!
Old 02-20-2011, 01:14 PM Re: Can i change the Document Root with .htaccess
Average Talker

Posts: 23
Trades: 0
Can you explain with an example what you want to achieve?
__________________

Please login or register to view this content. Registration is FREE
mwasif is offline
View Public Profile Visit mwasif's homepage!
 
Old 02-20-2011, 03:23 PM Re: Can i change the Document Root with .htaccess
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You can't

.htaccess works on HTTP requests to the server not the physical filing system.
All you could do with htaccess is redirect to a sub-folder which will show in the browser address bar
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 02-21-2011, 02:15 AM Re: Can i change the Document Root with .htaccess
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
Quote:
Originally Posted by chrishirst View Post
You can't

.htaccess works on HTTP requests to the server not the physical filing system.
All you could do with htaccess is redirect to a sub-folder which will show in the browser address bar
Hmm. That sucks.

Thanks Chris.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
View Public Profile
 
Old 03-29-2011, 06:31 AM Re: Can i change the Document Root with .htaccess
cindyfowler's Avatar
Ultra Talker

Posts: 351
Trades: 0
In.htaccess ,you could make changes of your shared hosting account but not the shared hosting. httpd.conf is with regard to the whole server. In short, you can't .
cindyfowler is offline
View Public Profile
 
Closed Thread     « Reply to Can i change the Document Root with .htaccess
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.77243 seconds with 12 queries