Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 A pro's opinion needed (somone who has time)
Google
Post new topic Reply to topic
Author Message
larre
 
 


Joined: 11 Mar 2006
Posts: 4

PostPosted: Wed Apr 05, 2006 3:02 am Reply with quoteBack to top

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!
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Wed Apr 05, 2006 11:54 am Reply with quoteBack to top

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.
View user's profileSend private message
larre
 
 


Joined: 11 Mar 2006
Posts: 4

PostPosted: Wed Apr 05, 2006 12:16 pm Reply with quoteBack to top

Thank You !!
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT