logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: My virtual Server is not seeing its subdirectories????
Author
rlttharp



Joined: 04 Jul 2007
Posts: 12
Location: Chicago, IL Jonesboro, AR

PostPosted: Fri 07 Sep '07 20:38    Post subject: My virtual Server is not seeing its subdirectories???? Reply with quote

Hi All,

I have ben playing with ZenCart and because of wanting to have mutiple e-commerce sites on my one server I setup a virtual server for www.petestown.com which also has several URL's included. When I first set this up in the root it was working fine. When I created the virtual server It now only see's the index.php page but does not see the stylesheet or any pictures. Everything is in the sub-directories why is it not seeing them? Any thoughts here is the directive area that partains to this I believe

Options +Indexes FollowSymLinks /etc/httpd/conf.d/system-config-httpd.conf (426)
AllowOverride None /etc/httpd/conf.d/system-config-httpd.conf (427)
Order allow,deny /etc/httpd/conf.d/system-config-httpd.conf (428)
Allow from all /etc/httpd/conf.d/system-config-httpd.conf (429)
</Directory>
<Directory "/home/petestown/public_html/petescart">
Options FollowSymLinks Includes Incl .. /etc/httpd/conf.d/system-config-httpd.conf (434)
</Directory>
ServerPath /home/petestown/public_htm .. /etc/httpd/conf.d/system-config-httpd.conf (436)

Rich
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Sat 08 Sep '07 6:13    Post subject: Reply with quote

You don't mention what version of Apache you are running, but ServerPath may not be the directive you really want to use.
It is for support of very old browsers, per the Compatibility with Older Browsers Apache doc.

More commonly you use these two directives inside your <VirtualHost *:80> section:
Code:
ServerName www.petestown.com
DocumentRoot /home/petestown/public_html

You also want to check that you have this directive, which must be outside any <VirtualHost> sections:
Code:
NameVirtualHost *:80


-tom-
Back to top
rlttharp



Joined: 04 Jul 2007
Posts: 12
Location: Chicago, IL Jonesboro, AR

PostPosted: Sat 08 Sep '07 18:37    Post subject: virtual server Reply with quote

Hi Tom,
Well I was setting up zencart as a virtual server for petestown. In the ZenCart Forum the majority seems to think that it was not fallowing or seeing the sub-directories associated with that web-site. I am not sure I agree

Rich
Back to top
motorcity



Joined: 08 Sep 2007
Posts: 1
Location: Detroit, Mi.

PostPosted: Sat 08 Sep '07 23:02    Post subject: Sounds like my problem? Reply with quote

Hope you don't mind me tailgating the thread ~ my issue is similar tho.

Op system = windows XP “media center edition” sp2
I installed; apache_2.0.59-win32-x86-no_ssl.msi

php-5.2.3-Win32.zip (which I later learned couldn’t work with mysql, so I over wrote it with;) php-5.2.4-win32-installer.msi

mysql-5.0.45-win32.zip

Apache works.
Phpinfo.php comes up & seems to work fine although the box for PHP CORE under (include_path = .;C:\php5\pear) – makes me wonder.
phpMyAdmin also runs just fine shows my db and displays the warning: (mbstring PHP extension was not found) I’ve read up on this and believe its something I can ignore.

My totally vanilla oscommerce install works except that it won’t go to any product pages;
Always = Product not found!
Here's a sample url for a product call;
http://localhost/directory/product_info.php?products_id=27&osCsid=kpammko8uqvfpnr4tu1panbcs3
Clicking on a Category = back to the Index.php
Manufacturers List, What’s New, Reviews, etc. all work suggesting connection to the database is fine.

Trying Admin basically works with these errors displayed;
Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\catalog\admin\includes\application_top.php on line 133

Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Apache Group\Apache2\htdocs\catalog\admin\includes\application_top.php on line 133

I’ve played around up & down with php.ini (register_globals=on) and I believe I’ve got the two includes/configure.php files close enough to get this going but, I’m stuck!
Any help or suggestions?
Back to top


Reply to topic   Topic: My virtual Server is not seeing its subdirectories???? View previous topic :: View next topic
Post new topic   Forum Index -> Apache