1
johnboy68
Problem getting the paths to work correctly in Apache
  • 2006/4/17 13:31

  • johnboy68

  • Just popping in

  • Posts: 8

  • Since: 2006/4/15


I have the complete system up and running good and I just about have my site the way I like it.

Here is my problem.

I have XOOPS intalled to this path:

\var\www\xoops

I have my "named virtual host" for my domain that serves this site set to:

\var\www\html

so that when you go to my domain you get the page to open, but...

When you try to do something like "login" it crashes because it says it can't get to:

http://mydomain.com/xoops/html/user.php

I understand why this happens because it is trying to find:

/var/www/xoops/xoops/html/user.php which does not exist.

So, if I set my virtual host to /var/www all works but that is not how I want it to work because 1. my XOOPS site does not come up (it goes to my main site) and 2. I use virtual host to host other sites off of my ../www/ directory.

I think the problem stems from me installing XOOPS and setting up the site from my internal network and not from the domian I setup for the XOOPS site.

How do I get my paths fixed?

I hope I explained my situation enough to get an answer.

Thanks for all you help and for such a great site to build with!

John

2
rabideau
Re: Problem getting the paths to work correctly in Apache
  • 2006/4/17 14:01

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Hi John,

Try editting your mainfile.php file to point to the directory where you have XOOPS installed. That should fix things. Burying a XOOPS site down a layer causes problems if you don't perform the install to the lower level directory but rather port the install using copy.

Hope this helps.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
johnboy68
Re: Problem getting the paths to work correctly in Apache
  • 2006/4/17 17:02

  • johnboy68

  • Just popping in

  • Posts: 8

  • Since: 2006/4/15


Thanks.

Yep. I got it fixed. All I had to do was fix the one line in mainfile.php.

I was snooping around the php files and found it.

Thanks for the reply.

Login

Who's Online

240 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits