Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st February 2009, 12:42
Karnith Karnith is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Question VHost Problems...

I seem to be having an interesting problem with ISPconfig 3 and the virtual directories...

I have up loaded my site and it uses CSS. The css can't seem to load the pictures. Here is what the error log for the web has....


[Sat Feb 21 04:30:18 2009] [error] [client 87.232.56.188] File does not exist: /var/www/silvershard.emunited.com/web/new-hp/images/new/border-right.gif, referer: http://silvershard.emunited.com/new-...whp_layout.css
[Sat Feb 21 04:30:18 2009] [error] [client 87.232.56.188] File does not exist: /var/www/silvershard.emunited.com/web/new-hp/images/new/border-top.gif, referer: http://silvershard.emunited.com/new-...whp_layout.css
[Sat Feb 21 04:30:18 2009] [error] [client 87.232.56.188] File does not exist: /var/www/silvershard.emunited.com/web/new-hp/images/new/border-bot.gif, referer: http://silvershard.emunited.com/new-...whp_layout.css

as you can see, when the css is run, it looks for the physical directory and does not use dir web as root. the files are there and I have even chmodded to 777. It seems to be following the wrong path.

also, it seems that .httaccess is not allowed

[Thu Feb 12 07:33:03 2009] [alert] [client 87.232.56.188] /var/www/silvershard.emunited.com/web/.htaccess: Options not allowed here
[Thu Feb 12 07:33:03 2009] [alert] [client 87.232.56.188] /var/www/silvershard.emunited.com/web/.htaccess: Options not allowed here
[Thu Feb 12 07:33:10 2009] [alert] [client 87.232.56.188] /var/www/silvershard.emunited.com/web/.htaccess: Options not allowed here, referer: http://silvershard.emunited.com/admi...lates&client=0

does any one know what the cause could be?

Should I scrap ISPCONFIG 3 for my hosting platform and go with the normal ISPCONFIG?

Thanks,

Karnith
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2009, 13:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

This has nothing to do with ISPConfig 2 or 3. Your problem occurs because you use options in your .htaccess file that are not allowed for security reasons. Either you configure your apache to allow everything in a .htaccess file which I do not recommend or you move the options that yre not allowed from the .htaccess file to the apache directives field of the website in ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st February 2009, 13:37
Karnith Karnith is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, I can remove the .htacces file as it is just used for the error pages. It still doesn't explain why my css looks ath the full path /var/... instaead of starting at the /web dir that is the root of the site. Any solution for this problem?
Reply With Quote
  #4  
Old 22nd February 2009, 19:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Where exactly are the images located, if they are not in /var/www/silvershard.emunited.com/web/new-hp/images/new/? Can you go to that directory and post the output of
Code:
ls -la
?

Regarding the .htaccess issue, you can add something like this to the Apache Directives field:
Code:
<Directory /var/www/silvershard.emunited.com/web/>
  AllowOverride all
</Directory>
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd February 2009, 20:24
Karnith Karnith is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, this is the wierd thing...

I tested the site in xamp, and it works just fine. I checked the images it was trying to load, tey arn't there. There not on the xamp server either, but it still loads fully.

The url is http://silvershard.emunited.com if you want to have a look. Could it only be parsing until the errors and then stoping?

thanks

Last edited by Karnith; 24th February 2009 at 19:46.
Reply With Quote
  #6  
Old 24th February 2009, 19:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

The URL's not working for me ("Address not found" in Firefox).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 24th February 2009, 19:45
Karnith Karnith is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, the link is SilverShard
Reply With Quote
  #8  
Old 25th February 2009, 18:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

The page and the images are loading fine for me.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 25th February 2009, 21:36
Karnith Karnith is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
The page and the images are loading fine for me.
The site looks like this in the notshowing jpg when the site should look like this in the showing.jpg



The first screen shot (notshowing.jpg) is from the apache2 server with ispconfig.




The second is from my xampp development server.

As you can see, the css is not rendering on apache2 with ispconfig. It is rendering with my dev server though..

Why is this happening? How could I find out?

Thanks
Attached Images
  

Last edited by Karnith; 25th February 2009 at 21:38.
Reply With Quote
  #10  
Old 26th February 2009, 20:29
Karnith Karnith is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Could this be because php is not fully active in the ispconfig setup? I'm stumped...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I set several IPs for one domain? freesqrt Tips/Tricks/Mods 17 12th January 2009 14:22
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14


All times are GMT +2. The time now is 06:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.