Comments (5)
What web server are you using? I'm kinda confused on what you are asking but if you are asking how to change the directory path for where static assets are served with Holy Unblocker in app.js you can look there. :)
On your web server you would want to have a location block of some sort for /whateverpathhere with Holy Unblocker as a backend, there should be no need for having to modify Holy Unblocker directly but I'm not sure how you have this set up. In fact if you did setup Holy Unblocker correctly you could simply have a path like so: https://jejagu.com/whateverpathhere
Something like proxy_pass http://localhost:8080
(NGINX) or ProxyPass /whateverpathhere http://localhost:8080/
(Apache).
Could you provide more information about what you are doing?
from holy-unblocker.
i used Apache/2.4.41 (Ubuntu) Server. and default directory is : /var/www/html/
i am install like the recommendation how to setup.
I try to run the application in directory with chmod 777
: https://jejagu.com/HolyUnblockerPublic/
i got message forbidden error,
Then i try run in directory ; https://jejagu.com/HolyUnblockerPublic/views/
The app running, but cannot used proxy and get redirect to https://jejagu.com/?z
i try to change in app.js
directory like this :
`//Cloudflare Attack Mode Fix
app.post('/var/www/html/HolyUnblockerPublic/views/', async(req, res) => res.send(fs.readFileSync(path.join(__dirname, 'views', 'index.html'), 'utf8')));`
but still get redirect in https://jejagu.com/?z
i want the proxy can run at default directory : https://jejagu.com/HolyUnblockerPublic/views/
or https://jejagu.com/HolyUnblockerPublic
i try other source code proxy : https://jejagu.com/proxy/
with npm install has not problem.
Then i find Holy Unblocker with nice themes and more proxy really very cool... but still make me got headeache :D
from holy-unblocker.
I'm not sure how you are setting this up. You are using npm or something like pm2 correct? If setup correctly, https://jejagu.com/HolyUnblockerPublic/views
would simply be https://jejagu.com/HolyUnblockerPublic/
. Same goes for on-site navigation.
Steps
Here is how I would interpret the correct steps for this. I would maybe use another folder for this but you can also clone Holy Unblocker in /var/www/html/
.
Make sure you have Node.js installed.
$ cd /var/www/html
$ git clone https://github.com/QuiteAFancyEmerald/HolyUnblockerPublic.git
$ cd HolyUnblockerPublic
$ npm install
$ npm start
Then simply add this to httpd.conf
:
ProxyPass /HolyUnblockerPublic http://localhost:8080/
Lastly be sure to have “mod_proxy” and “mod_proxy_http” modules enabled. Restart Apache and then try using Holy Unblocker.
Tell me if the issues persist even after you do this.
from holy-unblocker.
root@bugs12:/var/www/html/HolyUnblockerPublic# npm start
[email protected] start
node app.js
keep have the same problem....
the proxy always redirect at this url : https://jejagu.com/?z
jejagu.com is main site.
i used proxy to other directory, the result will be like : https://jejagu.com/HolyUnblockerPublic/?z
from holy-unblocker.
I'm closing this since the above very much confused me and no response has been given in awhile.
"i used proxy to other directory, the result will be like : https://jejagu.com/HolyUnblockerPublic/?z"
Is the above implying that the steps above did work? If so then all you need to do is rename the folder for a new path and edit httpd.conf
with something like so lol
ProxyPass /newdir http://localhost:8080/
Feel free to open this again if this still is an issue :D
from holy-unblocker.
Related Issues (20)
- Hi HOT 2
- Add support for Ultraviolet Google Sign-In. HOT 2
- UV proxy doesnt work. HOT 4
- Super Idol HOT 2
- Offline version? HOT 3
- How do I just get to the website on a school chromebook HOT 3
- When deployed to heroku, ultraviolet and other proxies do not work. HOT 1
- it doesnt work
- Heroku is removing free dynos HOT 1
- Railway doesn't work HOT 1
- sup
- Setting up in terminal gives error HOT 2
- help me HOT 1
- Redeploy your environments HOT 1
- hey it wont load the sandbox all the way not even halfway HOT 2
- In Search Of A Proxy HOT 2
- Alternative link HOT 2
- Error With Forking Website HOT 1
- unblockers won't work HOT 1
- idrk how to get it to work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holy-unblocker.