Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 16th, 2001, 12:51 PM
thejazzman99 thejazzman99 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: ny
Posts: 1 thejazzman99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to thejazzman99
2 quick fix apache config probs

1: i can't get a directory listing (if no index.html) if the url is fake-domain.com/pics, but if it has the trailing '/' (fake-domain.com/pics/) it works. how do u get it to show it w/o the '/'?

2: how do u set up a subdomain (something.myURL.com)?
i messed with virtualhost but then my server didn't show up at all.


thanks for any help

Reply With Quote
  #2  
Old July 17th, 2001, 05:25 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> (1) i can't get a directory listing (if no index.html)

Start here -> http://httpd.apache.org/docs/mod/core.html#options and add Options Indexes within the <Directory> block for your docroot.
Anyhow, more than likely, your pic directory is an Alias path (not a directory under your docroot physically). In most case, say the default icons directory, you would Alias /icons/ "/path/not/under/docroot/icons/" (note the trailing slashes). And
<Directory "/path/not/under/docroot/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Another way of doing is to create a symlink of pic directory from its original location to /path/to/your/docroot/pic, then add Options FollowSymLinks Indexes within <Directory /path/to/docroot>

(2) You can't blindly create a subdomain without a proper DNS configuration. You can add an A record for subdomain.myurl.com or you can even setup wildcard A record for *.myurl.com. Don't use cname if at all possible (cname is known to be unreliable).

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > 2 quick fix apache config probs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway