# Auth pages Not working - App

If you are having issue with **auth pages** in your app, like **logout**, **orders list**. It is possible your server is not forwarding the **auth** header to the **backend** to handle, usually it occurs in vps using **apache/whm**.

The solution is to add a line to the apache configuration, to ensure apache forward the auth header to the backend to handle.

Add the code below to your pre-virtualhost include config

```
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
```

<figure><img src="/files/4sq2F4FXclvOpbDOCzVm" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/odVSC0CNTcb7XaECNNJ5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edentech.gitbook.io/instahaul/faqs/auth-pages-not-working-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
