Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd January 2008, 08:16
tfunky tfunky is offline
Member
 
Join Date: Jan 2007
Posts: 85
Thanks: 4
Thanked 2 Times in 2 Posts
Default Etch Apach2 Virtual Host Error

Hi All,

I'm going crazy trying to figure out an issue with a new apache2 server I'm working on...

I've put Apach2/php5 on Etch.

I'm trying to configure virtual hosts.

Apache2 starts with no errors, but when I try to go to the virtual hosts I see a directory listing that shows "apache-default" and "webalizer' directories instead of my virtual host.

I have the virtual hosts files (sites-available) from a working server, so those should be fine.

I've done the a2siteenable part to build the symlinks.

I've got this in /etc/apache2/conf.d/virtual.conf
Code:
NameVirtualHost *:80
I've got the html, etc folders in /home/www/sitename (which is where they lived on the old server and where the sites-available config files point them)

I'm stuck.

Can someone point out something (probably something obvious) that I'm missing?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2008, 15:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What do you type into your browser's address bar? A domain/hostname or just an IP address? If you're using name-based vhosts, you must type in the correct domain/hostname in your browser.
__________________
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
  #3  
Old 4th January 2008, 17:14
tfunky tfunky is offline
Member
 
Join Date: Jan 2007
Posts: 85
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Well, I kept beating on it and I isolated it to my .htaccess file.

When I coped my htdocs dir from the old Sarge server to the new Etch server there were 2 directives that we messing me up.

First, Follow links was turned on in the htaccss

Second, noIndex was turned on. Once I commented those 2 lines out it stated working again
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
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 22:57
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 22:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 04:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 19:07
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53


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


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