[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

web CMS on hosting service folder permissions

Posted on 2009-03-31
2
Medium Priority
?
219 Views
Last Modified: 2013-12-14
Hi....
I'm trying to run a Joomla installation on a hosted server.
The root folder will never have read/write permissions.
This requires me to install it in a subfolder which I do have full control of.

The problem lies with a single line php redirect.
it redirects fine, but then puts the subfolder in the address bar, which I don't want.

so, if someone types http://www.cutlerplace.com
the redirect puts out http://www.cutlerplace.com/joomla

how do I stop that?
Thanks
0
Comment
Question by:Evan Cutler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
shobinsun earned 2000 total points
ID: 24036394
Hello,

You can do it with .htaccess redirect method.

Using .htaccess for Redirection:

When using the Apache web server, directory-specific .htaccess files (as well as apache's main configuration files) can be used. For example, to redirect a single page:

Redirect 301 /oldpage.html http://www.example.com/newpage.html

To change domain names:

RewriteEngine On
 
RewriteCond %{HTTP_HOST} ^.*oldwebsite\.com$ [NC]
RewriteRule ^(.*)$ http://www.preferredwebsite.net/$1 [R=301,L]


http://en.wikipedia.org/wiki/URL_redirection

http://corz.org/serv/tricks/htaccess2.php


You can also do it:

create a sub domain in your domain and paste all the contents from joomla there.

Then go the sub domain .

Regards.
0
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 31565182
It's a windows-based server.
of your solutions...the only one that appears to work is the subdomain solution.

Thanks much :)
Evan
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question