News:

The "Support Requests" forum is now viewable by guests.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - doctoreast

#31
No luck, 500 error


Also; for the record:
These below locked me out of forum and gallery,
could not login...


#BAD, CANNOT LOGIN
Change the first (root) file to:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^wholives.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.wholives.com$
RewriteRule ^(.*)$ wholives/$1 [L]

And in the domain2 folder change the htaccess file to:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.wholives.com$
RewriteRule ^(wholives/)?(.*)$ http://www.wholives.com/$2 [L,R=permanent]
#32
B,
  It is & was disabled.
Thanks,
East
#33
I'm using IE 6.  Is multi-views IE7 or what?
#34
B,
  Gallery and Forum is doing this. 
I'm using IE, not FF.  I killed cache/cookies,
rebooted, and it;s still adding the sub folder.

Does it if I click these links here or enter
http://wholives.com/forum
http://wholives.com/gallery
into address bar

Mike
#35
Brainiac,
  Still does the same thing. 
I deleted cookies and cache,
but no help either.

  If you guys want the forum
header for freepgs, just let me know.

East
#36
Hi,
Doesn't do it every time, but nearly every time:
Gallery is doing the same:

http://wholives.com/forum
http://wholives.com/gallery


Root (doctoreast.com has)

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?wholives.com$
RewriteRule ^(wholives\/)?(.*)$ wholives/$2 [L]


domain2 (/wholives, wholives.com) folder

RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.)?wholives.com$
RewriteRule ^(wholives/)?(.*)$ http://www.wholives.com/$2 [L,R=301]



Thanks in Advance,
east
#37
Hi,
  Do I need to put .htaccess scripts in all folders?  For some
strange reason,

http://wholives.com/forum
is coming up as
http://wholives.com/wholives/forum

eAst
#38
Brain,
  Is this always the case with includes on servers?  I've had this
problem before, but never realized what was going on.  I can't believe
that Ive put so much time into this one.
East
#39

My main domain name is doctoreast.com, and inside of that I have wholives.com in a subfolder.
/ works as root for images, but server wont parse php includes with / as root: 

Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/ez2_html-head-meta.html) is not within the allowed path(s): (/tmp/:/fpgs/fpgshttpd/doctoreast/:/fpgs/fpgslogs/68564/:/usr/share/pear/) in /fpgs/fpgshttpd/doctoreast/wholives/index.php on line 11

Warning: main(/includes/ez2_html-head-meta.html) [function.main]: failed to open stream: Operation not permitted in /fpgs/fpgshttpd/doctoreast/wholives/index.php on line 11


  I'm using absolute url instead, unless someone knows of an easy fix.

EAst
#40
 Using a second domain in a subfolder of main domain, / works
as root for images, but the server wont parse the includes, gets
this error message:



Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/ez2_html-head-meta.html) is not within the allowed path(s): (/tmp/:/fpgs/fpgshttpd/doctoreast/:/fpgs/fpgslogs/68564/:/usr/share/pear/) in /fpgs/fpgshttpd/doctoreast/wholives/index.php on line 11

Warning: main(/includes/ez2_html-head-meta.html) [function.main]: failed to open stream: Operation not permitted in /fpgs/fpgshttpd/doctoreast/wholives/index.php on line 11
#41
brainiac,
   Well, after your comments, I tested it.  It's complicated. 
It does work, except that I was trying to use images from one
domain name for the 2nd domain name also, but that does not
accept the / as root, which is now understandable, expected,
as it is not 2nd domain name's root; it belongs to the first.
The 2nd domain name is a subfolder of the first, and so, at first,
I assumed this would work.  I'm going to copy my images to the
2nd domain name also, and forget about it. 

Follow the white rabbit...
http://www.youtube.com/watch?v=6xhYk9PEmXA&mode=related&search=

Many Thanks,
East

#42

Yes, links src/href on my site.  All of my links on stylesheets, includes, and pages think
that / is site root, not server root.  I googled and came up with a few things, as I'm
certain that I've seen this done before.  Is this guy here speaking of javascript or asp?
http://www.geekzilla.co.uk/View35445C1B-E1DA-45C7-AFE5-934988BCBB72.htm

Thanks in Advance,
East
#43
brainiac,

  What you speak of isn't absolute, it's root relative. 
Absolute normally refers to http://entireaddress...
This would work, but also would absolute.  Man,
I hate to even think that I'm going to have to
change every freaking link in the site.  I saw this
done before with php or something, resolving /
as account root, but the script had to come up on
every page in the site. 

  One would think that freepgs would have this issue
already resolved, like most hosts do.  It's the member
subfolder/arrangement that screws this up. 

EAst 
#44
Hi,
  I'm using php, wrestling with relative paths, and I'm
wondering if there is anything I can do with rewrite
or something, that I can obtain relative / to mean root.
Relative to current, the ../ and ../../ is not working
due to the php includes being called from different files
in different folders.  I'm certain that some here will know
what I'm speaking of.  Right now, I'm using absolute urls,
as it's the only thing that seems to work. 
Thanks in Advance,
East 
#45
Resolved:
Solution was not to add *.mydomain.com to my
account for the second domain name, but to add the
second domain name itself, and then to use the
two .htaccess scripts to redirect it to a subfolder
of my main domain.  Both of the scripts, root and
subfolder, I put my second domain folder & name
info.

http://www.youtube.com/watch?v=6xhYk9PEmXA&mode=related&search=

PE