Originally Posted by
Oldsoldier2003
if your apache server is running any you haven't closed the ports using iptables or UFW then anyone on the lan should be able to connect to you by your ip address.
I currently don't even have a firewall on my computer running. I suppose it could be a closed port on the school's internet though
Code:
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /wwwroot/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /wwwroot/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /wwwroot/cgi-bin/
<Directory "/wwwroot/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
AddHandler cgi-script cgi pl py pyc
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Bookmarks