-
Notifications
You must be signed in to change notification settings - Fork 30k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.
Description
Verify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
-
"next": "12.2.5" -
Node 16.17.0 -
npm 8.18.0 -
windows 10
What browser are you using? (if relevant)
chrome (or any other)
How are you deploying your application? (if relevant)
deploying on c-panel through next export
Describe the Bug
- After completing the application I used the following commands to generate files to deploy in
outfolder;
next buildnext export
- I have added the following
.htaccessin theoutfolder with the following code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ — [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.html [L]
</IfModule>
- I uploaded all my files from
outtopublic_htmlthrough Cpanel.
But i am getting 500 Internal Server Error when visiting website URL: https://disputeflare.esquall.com/
Expected Behavior
It should run the website on the server as it is running on localhost.
Link to reproduction
https://github.com/ZeeshanAhmadKhalil/next-upload-issue
To Reproduce
- npm install
- npm run build
- upload to Cpanel
- visit website URL to see 500 error
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.

