Skip to main content

Thread: Apache2 not working right


edit:
figured out, had add ports.conf:
code:
namevirtualhost *:8080 listen 8080
----

contents of /etc/apache2/sites-available/desktop:
code:
 <virtualhost *:8080> 	serveradmin webmaster@localhost  	documentroot /8080 	<directory /8080> 		options followsymlinks 		allowoverride 	</directory> 	errorlog ${apache_log_dir}/error.log  	# possible values include: debug, info, notice, warn, error, crit, 	# alert, emerg. 	loglevel warn  	customlog ${apache_log_dir}/access.log combined      alias /doc/ "/usr/share/doc/"     <directory "/usr/share/doc/">         options indexes multiviews followsymlinks         allowoverride none         order deny,allow         deny         allow 127.0.0.0/255.0.0.0 ::1/128     </directory>  </virtualhost>
and enabled:
code:
# ls -l /etc/apache2/sites-enabled/ total 0 lrwxrwxrwx 1 root root 26 apr 27 12:11 000-default -> ../sites-available/default lrwxrwxrwx 1 root root 26 apr 27 12:43 desktop -> ../sites-available/desktop
and httpd.conf:
code:
servername localhost
have restarted apache2, , when try localhost:8080, says connection refused:
code:
 $ curl -vi localhost:8080 * connect() localhost port 8080 (#0) *   trying 127.0.0.1... connection refused * couldn't connect host * closing connection #0 curl: (7) couldn't connect host
anyone know what's going on?



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Apache2 not working right


Ubuntu

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands