Search the Community
Showing results for tags 'subdirectory'.
-
Hello, 1. Anybody can help, why this htaccess (location in root) doesn't work at 3.0.98 ? it show 404 RewriteEngine on RewriteRule ^(.*)$ /subdirectory/$1 [L] That rule works in 3.0.62 It redirect root request to subdirectory processwire installation and hiding the subdirectory name in url. I have try to uncomment htaccess inside subdirectory processwire installation : RewriteBase /pw/ to RewriteBase /subdirectory/ Doesn't help, still 404 when open the site from root domain. 2. Is there anyway to find processwire version from processwire files ? not from admin login page. Thank you.
-
Being a newbie in ProcessWire I was wondering, whether I could have simple subdirectories on my webserver (serving specific self-developed php-apps) and use PW's built-in user management, to grant or deny access to those directories for specific users and groups. I was trying to wrap my head around LDAP for this, but it's not too easy to install on virtual servers running Plesk from my experience. So I thought I could possibly use PW's built in mechanisms for this purpose. Any ideas? Thanks in advance to the community!
- 4 replies
-
- subdirectory
- user
-
(and 4 more)
Tagged with:
-
Hello, I'm deployed multiple pw sites already, all with nginx. This time I need to have multiple pw sites for a domain, every one of them under a subdirectory. I've been trying many things, every time I get 404 or 500 errors on /directory/processwire ( the /directory/ works, other pages not ). Did someone already managed to get that working ? PS : Apache is not an option
- 3 replies
-
- subdirectory
- nginx
-
(and 1 more)
Tagged with:
-
I have PW installed in subdirectory /pages. This makes all my pages load with URLs like /pages/{slug} which is what I want as I'm only using PW as the CMS for static pages and articles. However I would like the /pages/ url to be redirected to / of the site. I've tried this in the .htaccess file: # Redirect /pages to / RewriteRule ^pages/$ / [L,R=301] right after this: # ----------------------------------------------------------------------------------------------- # Ensure that the URL follows the name-format specification required by ProcessWire # ----------------------------------------------------------------------------------------------- RewriteCond %{REQUEST_URI} "^/~?[-_.a-zA-Z0-9/]*$" I did mod the .htaccess in the /pages directory. I also tried the .htaccess in the public directory. I also tried: RewriteRule ^pages$ / [L,R=301] RewriteRule ^(pages/)$ / [L,R=301] RewriteRule ^(pages)/$ / [L,R=301] RewriteRule ^(pages)$ / [L,R=301] Any suggestions?