Permalinks not working in Apache2 Ubuntu 16.10
1. The mod_rewrite is enabled
2. I have webmin 18.01 installed 3.using latest apache version 2.4+ then here is the process how to enable mod_rewrite. 4.Open apache2.conf using your favorite text editor. Change Override dir still no luck 5..htaccess & permalinks in right place 6.all domains are working but sub domains or links not working 404 pages are night mare can get nothing to fix for this on a Ubuntu 16.10 for example.c** this works but not sub links example.c**/blog/ they don t work but example.c** works be great if some one can sovled this for me |
n/m.
permalinks implies to me, Wordpress. |
links
yes your right but its issue with all domains and sub urls they don t work not wordpress but same isuue trying to fix look really hard in it the mod rewite is on? i look on few search engines people haveing same issue but its been sovled on older abuntu but this is new abuntu 16.10 and still can t get it to work sub links ? any one have any clue?
|
Quote:
Did you restart apache2 after the edit? What version of Wordpress? What directory is your Wordpress "in" exactly? |
show you config
wordpress 4.2.2 and restarted it
PHP Code:
|
Quote:
Try Code:
AllowOverride All Code:
apache2ctl graceful Test. |
sorry for delay
404 not found
The requested URL /network/ was not found on this server. Apache/2.4.18 (Ubuntu) Server at www.kproxy.pw Port 80 this is issue i am getting trying to think where comming from?any another clues ? |
error.log
haveing look at this i have 3 domain names add in webmin but it saying no matching not understand this where is this going wrong in the Apache error.log
PHP Code:
|
Code:
Error writing to /var/log/apache2/other_vhosts_access.log Code:
sudo ls -lF /var/log/apache2/other_vhosts_access.log If it does not exist, make it using: Code:
sudo touch /var/log/apache2/other_vhosts_access.log Code:
sudo chown root:adm /var/log/apache2/other_vhosts_access.log Did you plan on content being served from /var/www/hideproxy.co/ ? |
reply
this is showing so it worked
root root 101225 Jun 2 14:07 /var/log/apache2/other_vhosts_access.log then i copyright the crwn other_vhosts_access.log The requested URL /network/ was not found on this server so this still not soved it so trying to think what else that can be doing this mod rewite not showing any errors now in public folder .htacsses i did that right still no luck cause doing it on few domains that does not have wordpress installed i think its permissions in config file can t find it where the issue comming from any another issues ? |
name servers
Did you plan on content being served from /var/www/hideproxy.co/ ?
well my domain names pointing to ns1.hideproxy.co and for ns2 on the server ? you think this cause crosswire ? permissions? i don t think it can be that never heard of that but you can be right trying to think where and how? |
Solved
Ok took me over 24 hours to fix this so what sloved this was webmin config and apache config very tricky if you don t know what
are doing so i am going to incorrect this for another users for abuntu 16.10 because lot of permissions have changed in config file so this what i did Edit Config Files 1.webmin config file you need to change this for any domain or sub you create /etc/apache2/sites-enabled/webmin.14644*****.conf PHP Code:
PHP Code:
So when your done changeing this go to the apache config file /etc/apache2/apache2.conf change this to PHP Code:
PHP Code:
down to see where i was going wrong and bang it worked thank you.feel free to ask any ? on this topic closed thank you |
The use of the .htaccess file is disabled in newer versions of apache2.
What the hell is "/var/www/*" Never seen an asterisk used and may have unforeseen consequences. Remember, permissions in Linux should be explicit, not implicit. I'd change that to "/var/www/" as shown is every single example I have ever seen. Up to you. I can't tell what's wrong with your domain and/or dns because I don't have a domain name to work with. and 170.227.202.143 has no rDNS and it's assigned to IBM. |
Problem with permalinks
Same problem with my website.
|
* for example
thank you for clear that out
Quote:
Quote:
.htaccess file is disabled in newer versions of apache2. there was nothing out there not in forums i search for hours this first i know it was down to apache2 .htaccess disabled in newer versions.not in there faq,s nothing so this down to there abuntu end i think they should fix this for new linux user,s to know in pass |
All times are GMT -5. The time now is 04:54 AM. |