Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

A pro's opinion needed (somone who has time)
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache
View previous topic :: View next topic  
Author Message
larre



Joined: 11 Mar 2006
Posts: 4

Posted: Wed Apr 05, 2006 3:02 am    Post subject: A pro's opinion needed (somone who has time)  

Hello, first off let me state I am just a hobbiest and in most cases know just enough to get me in trouble :O

(gonna go through all steps here so as not to confuse myself)

I have two domain names pointed to the static IP of my modem (WAN)

Hits a router that forwards port 80 to a STATIC internal IP of the computer that is running the lastest apache2triad (edge).

listen 80 (default)

The only changes to I have made to it are as follows:

Alias /gforum/ "C:/www/forum/gforum/phpBB2/"

<Directory "C:/www/forum/gforum/phpBB2">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /hforum/ "C:/www/forum/hforum/phpBB2/"

<Directory "C:/www/forum/hforum/phpBB2">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /pic "D:/mywebpics/"

<Directory "D:/mywebpics">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

( the Alias /pic was left without the trailing / intentionally )

NameVirtualHost *

<VirtualHost *:80>
ServerName localhost:80
DocumentRoot "C:/apache2triad/htdocs"
</VirtualHost> (explanation below)

<VirtualHost *:80>
ServerName www.DOMAINNAME1.com
DocumentRoot "C:/www/acctual_dir_name"
</VirtualHost>

<VirtualHost *:80>
ServerName www.DOMAINNAME2.com
DocumentRoot "C:/www/acctual_dir_name"
</VirtualHost>

I also placed a index.html in the htdocs folder so that the apache2triadcp and stuff doesnt list by defaut.

What I need to know is this: Are there any security issues with the above configuration?

I had to add the :

<VirtualHost *:80>
ServerName localhost:80
DocumentRoot "C:/apache2triad/htdocs"
</VirtualHost>

Otherwise I had no access to localhost or the apache2triadcp


Thanks!
Back to top  
dawg



Joined: 11 Apr 2004
Posts: 180

Posted: Wed Apr 05, 2006 11:54 am    Post subject:  

Just looking quickly, I dont see any issues with the config -

the aliasing might present some problems if someone were able to load scripts in the Directory's, but as long as physical and FTP access are limited, you should be fine.
Back to top  
larre



Joined: 11 Mar 2006
Posts: 4

Posted: Wed Apr 05, 2006 12:16 pm    Post subject:  

Thank You !!
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group