200 reputation
322
bio website
location Ohio
age
visits member for 2 years, 6 months
seen 2 days ago

IT/SA for medium sized company.

I've decided to dive into learning PHP and Laravel. Fun stuff!!


Aug
1
comment Apache Rewrite or Proxy to internal server
OK, no more errors on restart! Had to do with hostnames defined differently in different places. The error log was indeed interesting. Didn't see anything about these issues, but lots of file not found coming from what are presumably bots looking for vulnerabilities.
Aug
1
comment Apache Rewrite or Proxy to internal server
@TomMarthenal Cheers!
Aug
1
comment Apache Rewrite or Proxy to internal server
The server reboot didn't fix the permission error. Must be something else going on. Entering the URL mysub.domain.com now brings me to a 403 Forbidden page (You don't have permission to access / on this server.) If it's not one thing it's another lol. I'll try to regroup tomorrow. Thanks so much for your help tonight.
Aug
1
awarded  Commentator
Aug
1
comment Apache Rewrite or Proxy to internal server
don't know where that IP comes from. Those errors don't look minor lol.
Aug
1
comment Apache Rewrite or Proxy to internal server
I have, and it throws a couple errors. I think it may warrant a different question though. It goes as such: * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 69.16.143.110 for ServerName apache2: Could not reliably determine the server's fully qualified domain name, using 69.16.143.110 for ServerName (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs
Aug
1
comment Apache Rewrite or Proxy to internal server
I won't keep you all night :) I super appreciate your tutelage. I've gotten a lot narrowed down even if I don't reach the finish.
Aug
1
comment Apache Rewrite or Proxy to internal server
Ok, httpd.conf is now empty. Still no go. ACK lol :)
Aug
1
revised Apache Rewrite or Proxy to internal server
addendum 2
Aug
1
comment Apache Rewrite or Proxy to internal server
Ok, is it "typical" then, to have it all defined in the sites-available? Shall I remove the <VirtualHost> blocks in the httpd.conf file? Would that then leave only the ServerName localhost entry?
Aug
1
revised Apache Rewrite or Proxy to internal server
Addendum per comment
Aug
1
comment Apache Rewrite or Proxy to internal server
I actually do have it created in sites-available and linked to -enabled. I'll post both in the question. Is it wrong to have the site defined in both places?
Aug
1
comment Apache Rewrite or Proxy to internal server
Thanks so much for the answer! I've axed the .htaccess file. I've altered the <Location> block with the trailing slashes. The URL still just directs me to the /var/www/mysub "It Works" page. One thing I may be doing wrong here... My <VirtualHost> block is IN my httpd.conf file. When you say to move it, is my <VirtualHost> block in the wrong place?
Aug
1
awarded  Student
Jul
31
asked Apache Rewrite or Proxy to internal server
Jul
30
awarded  Editor
Jul
30
awarded  Organizer
Jul
30
revised How do I dynamically obtain IP addresses for VLAN interfaces?
Formatting
Jul
30
comment How do I dynamically obtain IP addresses for VLAN interfaces?
I believe the /26 implies definitions of distinct networks. So, if a request comes from a client in the 0.0/26 range, the dhcp server listening on that SUBnetwork can only hand out an IP within that network.
Jul
30
suggested suggested edit on How do I dynamically obtain IP addresses for VLAN interfaces?