403 Forbidden Error Apache2 Ubuntu (Tried everything and all solutions I’ve ready.)

I know that this has been posted about A TON, but I have spent the last day scouring through answers, trying everything and nothing is working. I’ve changed permissions, I’ve looked into the Apache2 logs, I’ve altered configuration files, and I’m still getting the 403 forbidden error. Here are the apache2. My html files are in /var/www/html

I’m not completely sure, but I do recall troubles starting after trying to create user directories using: sudo a2enmod userdir

In side the apache error logs, the only thing on there that could be leading to something is this:

(13)Permission denied: [client myip] AH00035: access to  /folder/data/index.html denied (filesystem path  '/var/www/html/folder/data/index.html') because search permissions are  missing on a component of the path 

In my /etc/apache2/sites-available/000-default.conf, I added the following at the very end:

<Directory /var/www/html> AllowOverride All </Directory> 

In my apache2.conf I have the following:

<Directory />         Options FollowSymLinks         AllowOverride None         Require all denied </Directory>  <Directory /usr/share>         AllowOverride None         Require all granted </Directory>  <Directory /var/www/>         Options Indexes FollowSymLinks         AllowOverride ALL         Require all granted </Directory>  <Directory /var/www/html>         Options Indexes FollowSymLinks         AllowOverride ALL         Require all granted </Directory>  Again, I'm VERY sorry that I needed to make this thread, but I don't want to continue to copy and paste solutions that could do more harm than good. 

Is it a bad idea to push everything in my home folder to a private repo on GitHub?

And if so, why?

I have two ubuntu 18.04 machines that I use for work. One at home and one in the office. I use git and github a lot already. I make configuration changes to files in my home directory often (eg, .pgpass file for postgres etc) and I want those changes replicated between the machines, without me having to remember to explicitly sync them when I leave each one. Using source control makes sense to me, as I want to be able to rewind changes if I mess something up.

However, I’m worried that if I set up a process to sync everything in my home folder, I might accidentally push files that I shouldn’t (eg passwords). I know that I can tell git to ignore everything except the files I explicitly tell it to stage, but then I would lose the option of having it automatically sync everything. Is there a simple git ignore file pattern that would suit my needs?

I would rather not set up a private repo server as I then have to worry about keeping it running.

Did everything to optimise SEO ranking of site but the site does not show up [duplicate]

This question already has an answer here:

  • What are the best ways to increase a site's position in Google? 24 answers

I have created a business website for a client of mine. The client runs a business of providing therapeutic and behavioral services to youth and families experiencing developmental, emotional, and behavioral challenges.

The company is called Progressive Option Support Services. The client wanted to optimize the website so it can show up in the top of google search results when you search for “progressive option support services”. I have no previous experience in SEO so I followed few blogs and articles on how I can improve the search ranking of the site and implemented it. Some of the things I did were:

  1. Using h1 tag in the website
  2. Giving a proper meta description, title etc for the site
  3. Making sure there are no broken links.
  4. Giving a proper value to the alt attribute of an html image element.
  5. Creating a sitemap.xml and submitting it to google search console.
  6. Creating a robots.txt file.
  7. Making sure there are no canonicalization issues with the site.
  8. Using the keywords the client wants to associate with the business on the site and meta description.

However when the client searches for “progressive option support services” the first result she gets is the website for Progressive Insurance. It’s not a sponsored advertisement, its the actual progressive insurance website.

However if you google “progressive leasing”, you will see the following search result:

enter image description here

So it makes me think that whatever SEO optimisation I did for the site is not working. When I google “progressive option support services” on my browser I see the site I created.

enter image description here

So I do not know why the client see’s Progressive Insurance website in the top of the search result whereas I see the actual website. The client and I are in different geographical regions (New Jersey, USA and Mumbai, India), so maybe that might be the deciding factor on why she sees the insurance company and I don’t. But by that logic when she searches “progressive leasing” – she sees the result for progressive leasing (the first image).

Another question I had was how can I show my search result the way Progressive Leasing shows up, i.e the sitmap below the search result?

Here is the github link of the website code: https://github.com/neeraj87/poss-website.git

Any suggestions and/or modifications which will help the site show up will be very appreciated.

Thank you all.

Connection issue in Ubuntu 18.04, everything looks good

I was setting up a TOR connection and all of a sudden I can’t connect to anything. I’ve uninstalled TOR and I can’t get connected to my wireless router.

The icon shows connection, and nmcli general says everything is working, but I can’t get it to ACTUALLY work. I’ve included some of the information. I’m probably missing something so if you see what you need is missing, I will edit this.

I have restarted NMCLI, network-manager, NetworkManager, wifi radio on/off, ifup/ifdown, etc.

None of the usual things are working.

Uname – version 5.0.0-23-generic

lspci –

0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 


enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500         ether 4c:72:b9:9d:fe:f3  txqueuelen 1000  (Ethernet)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 0  bytes 0 (0.0 B)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet  netmask         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 12322  bytes 895314 (895.3 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 12322  bytes 895314 (895.3 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet  netmask  broadcast         inet6 fe80::2268:9dff:fe54:7e42  prefixlen 64  scopeid 0x20<link>         ether 20:68:9d:54:7e:42  txqueuelen 1000  (Ethernet)         RX packets 4509  bytes 272210 (272.2 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 493  bytes 64787 (64.7 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 


wlp3s0    IEEE 802.11  ESSID:"Countess"             Mode:Managed  Frequency:2.462 GHz  Access Point: CC:40:D0:D3:56:84              Bit Rate=1 Mb/s   Tx-Power=20 dBm              Retry short limit:7   RTS thr:off   Fragment thr:off           Power Management:off           Link Quality=64/70  Signal level=-46 dBm             Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0           Tx excessive retries:2  Invalid misc:56   Missed beacon:0 


  *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:01:00.0        logical name: enp1s0        version: 0b        serial: 4c:72:b9:9d:fe:f3        size: 10Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=half firmware=rtl8168f-2_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s        resources: irq:17 ioport:e000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff   *-network        description: Wireless interface        product: AR9462 Wireless Network Adapter        vendor: Qualcomm Atheros        physical id: 0        bus info: pci@0000:03:00.0        logical name: wlp3s0        version: 01        serial: 20:68:9d:54:7e:42        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless        configuration: broadcast=yes driver=ath9k driverversion=5.0.0-23-generic firmware=N/A ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11        resources: irq:16 memory:fea00000-fea7ffff memory:fea80000-fea8ffff 

nmcli general:

STATE      CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN     connected  full          enabled  enabled  enabled  enabled  

Device info:

> GENERAL.DEVICE:                         wlp3s0 GENERAL.TYPE:           > wifi GENERAL.HWADDR:                         20:68:9D:54:7E:42 > GENERAL.MTU:                            1500 GENERAL.STATE:            > 100 (connected) GENERAL.CONNECTION:                     Countess > GENERAL.CON-PATH:                       > /org/freedesktop/NetworkManager/ActiveConnection/1 IP4.ADDRESS[1]:     > IP4.GATEWAY:                   IP4.ROUTE[1]:                           dst =, nh = >, mt = 600 IP4.ROUTE[2]:                           dst =, nh =, mt = 600 IP4.ROUTE[3]:                           dst =, nh =, mt = 1000 IP4.DNS[1]:              > IP4.DNS[2]:                    IP4.DNS[3]:                    IP4.DNS[4]:      > IP4.DNS[5]:                    IP6.ADDRESS[1]:                         fe80::2268:9dff:fe54:7e42/64 > IP6.GATEWAY:                            -- IP6.ROUTE[1]:               > dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[2]:             > dst = fe80::/64, nh = ::, mt = 256 

Page Resources Couldn’t be Loaded” on GSC even after clearing everything on robots.txt

Google Search Console and Mobile-Friendly Test both give me the following two warnings for my WordPress based website:

  • Content wider than screen
  • Clickable elements too close together

The screenshot that these sites provide of my website completely looks broken as if no CSS was applied.

Many solutions to this problem seem to identify the robots.txt file as the culprit, as some users may be blocking google bot from accessing the resource files such as stylesheet or JavaScript.

My case was different. The following state is how my robots.txt file looks like, and I still get the same warning messages none the less. I am an SEO framework user, so I created my own static version of the robots.txt.

User-agent: *     Allow: /  Sitemap: https://***** 

There are also suggestions that the weight (heaviness) of the website is to be blamed. In my case, I have only a few JavaScript files that are mainly in charge of some very light tasks such as carousel, slide-down answers for faq, and the menu button for the nav-menu.

I tried many things including switching themes and surprisingly, the same issue happens even for the WordPress official theme “twenty-seventeen” and also “twenty-nineteen” or the blank version of the “Underscores” theme, but not when I used my original theme that doesn’t have any JavaScript files.

Do I really have to go the route of NOT using JavaScript at all, and strictly only use css to style my website, or can it be that there are other things to look at??

Along with the two warnings, I also almost always get “Page Loading Issue” on the test results. Could it be that this is a server speed related issue? I am located in Japan at the moment, and my website is also targeted mainly for Japanese, but I am using a SiteGround server and not a Japanese server. I am well aware that this is giving me a speed-related issue in general for my website, but is this also affecting the results of the above-mentioned google tests?

Is it appropriate to run everything through web applications?

I work for a company in which the majority of our overall platform consists of a massive, monolithic web application. Nearly all of the application’s functionality resides on 2 servers. Our main, external application, and our secondary internal application.

The main application does a majority of the major lifting. Most of its functionality consists of various CRUDs, reports, and displays. The secondary, internal server handles many of the longer running tasks, and operations that don’t necessarily needs to be immediately returned back to the user. It functions as a fire-and-forget type of server.

Overall, the main platform consists of dozens and dozens of smaller comprehensive tools. Things like scheduling, forms, and data lookup. Most of these smaller tools are fairly well packaged and could one day be refactored into microservices, and they’d and and scale quite well. The place where you draw the line on those services makes sense from a business standpoint as they’re fairly well defined.

However, nearly all of our applications reside on the same web server, within the same web application. Everything from the core site functionality to fairly resource intensive reports are all the same core application.

We’ve started making the switch to microservices to help the ease of burden of having everything running on a single server. But I find myself asking if it’s necessarily appropriate or advisable to have everything simply be a web application.

Would certain applications, such as reporting, be better suited as standalone services that aren’t running from within IIS or some other host? Or is the performance loss to convenience gained a worthwhile trade-off?

White Screen During Setup. Tried everything

I’m trying to set Magento up locally using MAMP, and I’m getting the WSOD. I’ve changed permissions, to the point that just about everything has full permissions, and still nothing

I’m running php 7.2, and I’ve been able to run composer install without any issues. When I check the network tab, I see the setup index.php come through with a 500 error.

my cgi.fix_pathinfo is set to 1, I have a db created in phpmyadmin with the same name as the root folder, and both the debug log and system log have 2 lines that say:

main.ERROR: Error: Application is not installed yet. [] []

How do I handle a player who wants to burn everything down?

In my most recent adventure, the party was attacking a wooden goblin fort when the dragonborn PC had the bright idea to use his fiery breath to burn it down. I thought that it was a clever idea and was glad that he thought of it, but I am wary of letting this become the solution to every problem (especially as an adventure in the near future may involve exploring an evil forest). The reason that I am worried about this is because I think that burning down a building from the outside will often be a lot less interesting than exploring it and fighting its denizens.

How can I prevent a player from burning down everything to solve problems?

Note that I am not particularly concerned with whether or not dragonborn breath is capable of setting something on fire. I don’t feel like just telling the player “the rules say that you can’t do that” would be a fun solution. I want to keep things fun but also prevent the game from getting completely out of control.

Angular naming guidelines: why must everything be a “XXXservice” or “XXXcomponent”?

I’m struggling about this topic for a while and I think I can’t wrap my head about the angular style naming conventions. My question is: why is everything called a service?

I’m a backend-guy, and in the backend I have – for example – a UserRepository which accesses the database and a UserService hich holds the business-logic. So I use the sufix “Repository” for a data access layer and “Service” for business logic.

Moving to angular, it confuses me that everything must be a service, according to the style guide. I would like to have a UserApiClient which connects to the api and a UserService which holds business logic.

In the same manner I would like to have a UserDetailsPage, UserNameComponent and UserEditForm instead of a “UserDetailsComponent”, “UserNameComponent” and “UserEditComponent”.

I would like to have more sufixes to structure the type of my classes then “service” and “component”.

By the way, I know that I can name my classes whatever I want – but it confuses me, that angular is so strict about this topic: the style guide ist very clear and the cli doesn’t event let me choose the sufix for my classes. Renaming everything manually after creating via cli or creating everything manually couldn’t be the answer…

Is this really a concern or do I just have to “accept” the style guide as it is…? Am I seeing things wrong or not “the angular way”?

Thanks for clearing this up!