Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

networking newbie

Status
Not open for further replies.

stasJohn

Programmer
May 6, 2004
155
US
I'm not sure if I'm posting this in the right forum, if not please suggest where I should ask.

I set up a linux server (apache 1.3) at work for web development. I set it up so that outside the LAN, the server would not be accessible except for certain web services like the w3c validator or bobby.

For awhile we were using dyndns to point to the server. And everything worked nicely.

Recently we bought a domain from mydomain.com. Pages are accessible in the LAN, not accessible outside the LAN, but the web services that are suppose to be allowed now get a 500 error.

On mydomain.com I performed the following changes;
- disabled forwarding
- allowed the passage of subdirectories
- added a dns entry *.mysite.com A [server ip]

On the linux box, I changed the "network configuration" by updating the DNS to the 3 specified on mydomain.com.

My httpd.conf (snippets);
Code:
ServerName mysite.com
<Directory /home/*/public_html>
   <Limit GET POST OPTIONS PROPFIND>
     order deny,allow
     deny from all
     allow from [server ip]
     allow from .w3.org
   </Limit>
   <LimitExcept GET POST OPTIONS PROPFIND>
     order deny,allow
     deny from all
     satisfy from all
   </LimitExcept>
</Directory>
NameVirtualHost *
<VirtualHost *>
  DocumentRoot /htdocs
  ServerName mysite.com
</VirtualHost>
<VirtualHost *>
  DocumentRoot /home/user/public_html
  ServerName user.mysite.dynalias.com
  ServerAlias user.mysite.dynalias.com
</VirtualHost>
<VirtualHost *>
  DocumentRoot /stage/user/public_html
  ServerName user.mysite.com
  <Directory "/stage/user/public_html">
    order deny,allow
    allow from all
    [ Auth stuff ~ AuthType, AuthName, AuthUserFile, Require ]
  </Directory>
</VirtualHost>

Any idea why web services are getting an error? Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top